# Stop audio player when timer expires

**URL:** <https://forum.adalo.com/t/stop-audio-player-when-timer-expires/25377>\
**Category:** Get Help\
**Created:** [April 2, 2022, 12:33am UTC](https://forum.adalo.com/t/stop-audio-player-when-timer-expires/25377 "2022-04-02T00:33:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dantelouis](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@dantelouis](https://forum.adalo.com/u/dantelouis)\
**Post date:** [April 2, 2022, 12:33am UTC](https://forum.adalo.com/t/stop-audio-player-when-timer-expires/25377/1 "2022-04-02T00:33:22Z")

</div>

Wondering if there is a way for a user to set a timer and when the timer expires or hits 0, then turn off the audio player? I appreciate the help.

---

<div class="post-metadata">

**Author:** ![njimmy10](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/njimmy10/32/23489_2.png) [@njimmy10](https://forum.adalo.com/u/njimmy10)\
**Post date:** [April 2, 2022, 8:09am UTC](https://forum.adalo.com/t/stop-audio-player-when-timer-expires/25377/2 "2022-04-02T08:09:21Z")

</div>

Well Have a hidden input in your screen, then make the audio component sometimes visible if :  
Other components \> Input \> Is not equal to \> 1

Then when the timers ends, add an action \> change input value to \> false

Please make sure to add an action on the button which leads you to the screen to change the input value back to 1

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [April 12, 2022, 8:09am UTC](https://forum.adalo.com/t/stop-audio-player-when-timer-expires/25377/3 "2022-04-12T08:09:30Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
