Forum Discussion
CharuSachdeva-a
3 months agoCommunity Member
Stop all sounds action
I have a file where I need to play audio through different buttons on the slide. Its like listening to the audio pieces by clicking on the play button against them. When I used show layer options to ...
Nathan_Hilliard
3 months agoCommunity Member
You can place this into a trigger and use it to stop all the audio tracks playing on a slide, including any active layers.
var el = document.querySelectorAll("audio");
el.forEach((item)=>{item.pause()});