Livepar Established Member Impact 82 Feb 16, 2016 1K views 2 replies #1 Does anyone know the proper way to embed a YouTube video so it auto plays on entry to a page? Preferably with the sound also muted. Thanks! Click to expand...
Does anyone know the proper way to embed a YouTube video so it auto plays on entry to a page? Preferably with the sound also muted. Thanks!
Nodws DeveloperVIP Member VIP ★★★★★★★★★★ Impact 218 Mar 17, 2016 #2 There is no way to mute a video with the html code given by youtube. you must use Javascript (https://developers.google.com/youtube/iframe_api_reference#Examples) function onPlayerReady(event) { event.target.setVolume(0); event.target.playVideo(); } Click to expand...
There is no way to mute a video with the html code given by youtube. you must use Javascript (https://developers.google.com/youtube/iframe_api_reference#Examples) function onPlayerReady(event) { event.target.setVolume(0); event.target.playVideo(); }
iowadawg Top Member VIP ★★★★★★★★★★ Impact 85,553 Mar 17, 2016 #3 Just. Do. Not. Ever. Enable. Autoplay! Click to expand...