# How to control HTML5 Audio Element from UI-Template?

**URL:** <https://discourse.nodered.org/t/how-to-control-html5-audio-element-from-ui-template/31430>\
**Category:** Dashboard\
**Created:** [11 August 2020 08:59 UTC](https://discourse.nodered.org/t/how-to-control-html5-audio-element-from-ui-template/31430 "2020-08-11T08:59:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [11 August 2020 14:04 UTC](https://discourse.nodered.org/t/how-to-control-html5-audio-element-from-ui-template/31430/2 "2020-08-11T14:04:50Z")

</div>

Hi Herold,  
Welcome to the forum!  
Normally - unless I have something misunderstood about your case - you can use the ui\_audio node (which is part of the dashboard node set) for this. [Here](https://discourse.nodered.org/t/playing-mp3-audio/8188/16) is more information. Although pauzing is _ **not** _ possible this way (see [here](https://discourse.nodered.org/t/node-red-dashboard-audio-wish/4798/20))...  
Bart

---

_[View the full topic](https://discourse.nodered.org/t/how-to-control-html5-audio-element-from-ui-template/31430)._
