I have multiple video popups working on the same page. However, I’d like to be able to stop a video from playing, when closed, so that when I play a new video, you can only hear audio from one. Currently, if I close one video and start another I can still hear the audio playing from the first video.
I have toggled the “clear widget contents” button on the widget code panel - which works great when a user navigates to a new page. However, it appears I’ll need to add code to each video code widget to stop/mute videos when closed, in order to stop multiple videos playing on the same page at the same time.
Has anyone had experience with this? Is what I’m wanting to achieve even possible?
Code I’m using for inserting video content is this: