Any way to unmute YouTube in "start automatically"?

I’ve set up a fixed You Tube video in a popup container, with buttons for switching selections here (work in progress). Set to “start automatically”.

But - the audio is muted. (I’ve had to add a “Sound On?” tip on the page)
Any way to add something to switch it on when a button/selection is clicked?
Switching “start automatically” off would only force the user to click both unmute and play. each time - but at least the beginning wouldn’t be cut off - or load a playing video with no sound to confuse the viewer.

I think it’s using the iFrame player - Google developer page shows -

player.unMute():Void
Unmutes the player.

Maybe there is a workaround - (xmit this code with the playvideo command) or a feature request in there?

A video player in the page can not unmute sound. This is a browser policy and can’t be changed. No amount of javascript will solve it, you’ll just get an error. Youtube itself solves it by being pre-whitelisted by browser vendors, so they don’t block audio on YouTube.com.

The only way that audio plays is when there’s express user intent, and this is verified by the browser by checking that in the chain of events leading to a play or unmute request, there’s a user click.

So the way to do this in Sitely is to open the video player in a popup, and you’ll notice that the popup automatic start does allow you to unselect the mute option.

1 Like

Thanks for the answer! (bummer)

UPDATE - I found that deselecting “start automatically” for each video loads them unmuted - (not playing obviously).

Asking the viewer to hit the big red play button is a much nicer thing than them realizing there’s no sound and searching for the Mute button while the video is already playing.

It’s a workable solution. Thanks again for the help!