Stop Sound after leaving the page

Hi all,

I have a page where I am calling a list of sounds and putting in a list view. In the list view there is a trigger button to Play sound. When starts, the button is hidden and a stop button shows up to stop sound.

However, if I leave the page, the sound still playing in the background and I am not able to stop it.

I can start/stop a new sound, and they will overlap the sound in the background.

Any idea how to stop the sound in the background?

regards,

Gustavo

19 replies