Forum Discussion
Automatically mute audio when playing embedded videos from external sites
Hi all!
Me again with another question about embedded videos from external sites.
I'm struggling with finding a straightforward way to automatically mute audio when a user clicks to play a video that is inserted from an external site (i.e. not uploaded directly into storyline). Trigger wizard doesn't see the video object as media so I can't assign the usual triggers etc to stop the audio when they user clicks to play the video in YT.
The closest I can get is by creating a screenshot of the video with a play button, then uploading the video to autoplay in a layer which does add quite a bit of a workaround, is there anything obvious I might be missing so I don't have to do this for every video in quite a video-content heavy piece of elearning?
Thanks!
- SamHillSuper Hero
I was going to recommend the solution you are already using, ie using a layer.
If the audio is timeline based, you should be able to pause the timeline though as this wouldn't affect web embedded video. They should play independently of each other.
Otherwise, it would be a JavaScript solution to loop through and pause all audio.
- KayleaMitchem-bCommunity Member
Hi SamHill
Thank you so much for your response. The timeline is audio based, but whenever I play the video from web the two play concurrently, and storyline can't see the web object to set a trigger to pause it, I think the layer option might be the only way to set the option to the pause the audio on the baseline that i've found, just wasn't sure if there might be a simpler way to do it, I have a habit of making things more complicated than they need to be sometimes.
Thanks so much for taking the time to respond!