How to Embed a Muted YouTube Video in your Website
It is easy to embed YouTube videos in your website. You grab the default IFRAME embed code, paste it anywhere inside your web page and you’re done. YouTube does offer some basic customization – like you can modify the player dimensions or hide the YouTube branding – but if you would like to exercise more control over the behavior of the embedded player, the YouTube Player API is the way to go. This tutorial explains how you can embed a YouTube video that will auto-play when the web page is loaded but with muted audio. For instance, a products website may use short screencasts to highlight features and these videos will autoplay when the page is loaded. The volume is however set to 0 and the user can manually click to un-mute the video. Similarly, if you are using a YouTube video background for your website, it makes more sense to use muted embeds that run in a loop See the demo page . How to Mute the Embedded Yo...