Monthly Archives: October 2016

Embed a video with both autoplay, mute and other variables

Source: http://stackoverflow.com/questions/19241151/adding-additional-parameters-to-the-yt-player-object-from-youtube https://developers.google.com/youtube/player_parameters?playerVersion=HTML5 https://productforums.google.com/forum/#!msg/youtube/XS5_P_9OXCo/-oNOf3d8x4sJ http://jsfiddle.net/oLtcsh49/2/ <!– 1. The <iframe> (and video player) will replace this <div> tag. –> <div id=”player”></div> <script> // 2. This code loads the IFrame Player API code asynchronously. var tag = document.createElement(‘script’); tag.src = “https://www.youtube.com/iframe_api“; var … Continue reading

Posted in Youtube | Tagged , , | Comments Off on Embed a video with both autoplay, mute and other variables