# Instant (automatic) audio play

**URL:** <https://community.glideapps.com/t/instant-automatic-audio-play/60154>\
**Category:** Ask for Help\
**Created:** [April 4, 2023, 8:40pm UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154 "2023-04-04T20:40:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miroslav\_Madaric](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miroslav_madaric/32/20852_2.png) [@Miroslav\_Madaric](https://community.glideapps.com/u/Miroslav_Madaric)\
**Post date:** [April 4, 2023, 8:40pm UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/1 "2023-04-04T20:40:35Z")

</div>

“Audio” component requests manual “Play”. In my app I need automatic play as an action after some trigger. How it can be done, without much ado?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [April 4, 2023, 8:52pm UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/2 "2023-04-04T20:52:45Z")

</div>

> **[Autoplay guide for media and Web Audio APIs - Web media technologies | MDN](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide)**
>
> Automatically starting the playback of audio (or videos with audio tracks) immediately upon page load can be an unwelcome surprise to users. While autoplay of media serves a useful purpose, it should be used carefully and only when needed. In order...

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 5, 2023, 12:55am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/3 "2023-04-05T00:55:19Z")

</div>

This is the case for me. I mute some sites back in the days because of their autoplay feature. Granted there might be some cases that do make sense.

---

<div class="post-metadata">

**Author:** ![Miroslav\_Madaric](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miroslav_madaric/32/20852_2.png) [@Miroslav\_Madaric](https://community.glideapps.com/u/Miroslav_Madaric)\
**Post date:** [April 5, 2023, 5:53am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/4 "2023-04-05T05:53:21Z")

</div>

Disagree fully because there is also notification action with autoplay of audio, one of presets. It would be fine to have the possibility of using your own audio instead of one of prest sounds.

---

<div class="post-metadata">

**Author:** ![Miroslav\_Madaric](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miroslav_madaric/32/20852_2.png) [@Miroslav\_Madaric](https://community.glideapps.com/u/Miroslav_Madaric)\
**Post date:** [April 5, 2023, 5:57am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/5 "2023-04-05T05:57:10Z")

</div>

My case: Kids are learning letters and I need applause or disappointment sounds depending on their answer. Mute button can be built and in place for whole session.

---

<div class="post-metadata">

**Author:** ![Alexey\_Baranov1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexey_baranov1/32/43581_2.png) [@Alexey\_Baranov1](https://community.glideapps.com/u/Alexey_Baranov1)\
**Post date:** [February 28, 2024, 4:56am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/6 "2024-02-28T04:56:11Z")

</div>

Hi Jeff! @Jeff_Hager  
Would it play audio upon a condition, not by actions?  
I need to play custom audio when user goes to place, defined by distance column.

---

<div class="post-metadata">

**Author:** ![Alexey\_Baranov1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexey_baranov1/32/43581_2.png) [@Alexey\_Baranov1](https://community.glideapps.com/u/Alexey_Baranov1)\
**Post date:** [February 28, 2024, 4:58am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/7 "2024-02-28T04:58:32Z")

</div>

Hi Miroslav! @Miroslav_Madaric  
Did you solved this issue? Was that API helpfull in your case?  
Thank you

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 28, 2024, 6:23am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/8 "2024-02-28T06:23:11Z")

</div>

No modern browser will allow audio to automatically play when a page loads, without some sort of user interaction first. That’s the point of the link I shared.

If you can get the user to interact with a screen before loading an audio component, then maybe you can get an HTML audio player to automatically play when a condition is met to allow it to display on the screen. It most likely has to be an HTML audio tag, with the autoplay parameter, within a rich text component.

---

<div class="post-metadata">

**Author:** ![Alexey\_Baranov1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/alexey_baranov1/32/43581_2.png) [@Alexey\_Baranov1](https://community.glideapps.com/u/Alexey_Baranov1)\
**Post date:** [February 28, 2024, 7:32am UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/9 "2024-02-28T07:32:27Z")

</div>

> [@Jeff\_Hager](#):
>
> If you can get the user to interact with a screen before loading an audio component, then maybe you can get an HTML audio player to automatically play when a condition is met to allow it to display on the screen. It most likely has to be an HTML audio tag, with the autoplay parameter, within a rich text component.

Thank you, Jeff!  
Do you talking about user interaction with MY app’s screen, or user interaction with the PAGE LOADED by iFrame?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 28, 2024, 12:50pm UTC](https://community.glideapps.com/t/instant-automatic-audio-play/60154/10 "2024-02-28T12:50:12Z")

</div>

I don’t know for sure. That is something that would have to be tested.
