# Stop audio player from playing once a close button is clicked

**URL:** <https://forum.bricksbuilder.io/t/stop-audio-player-from-playing-once-a-close-button-is-clicked/38583>\
**Category:** Uncategorized\
**Created:** [March 18, 2026, 9:15pm UTC](https://forum.bricksbuilder.io/t/stop-audio-player-from-playing-once-a-close-button-is-clicked/38583 "2026-03-18T21:15:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markbee](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/markbee/32/20471_2.png) [@markbee](https://forum.bricksbuilder.io/u/markbee)\
**Post date:** [March 18, 2026, 9:15pm UTC](https://forum.bricksbuilder.io/t/stop-audio-player-from-playing-once-a-close-button-is-clicked/38583/1 "2026-03-18T21:15:37Z")

</div>

Hello community! I have created a desktop player that houses several different music audio snippets. My goal is to have the audio stop playing once the player is closed. Presently, the audio keeps playing after the container is closed. Any ideas on how to acheive this? The floating audio player is the on desktop and tablet but not mobile. My common sense is telling me that this can be acheived with interactions? Let me know your thoughts.

The player is at [https://dewavepeace.com/](https://dewavepeace.com/) on the homepage. TIA!
