Showing posts with label autoplay=1. Show all posts
Showing posts with label autoplay=1. Show all posts

Tuesday, February 18, 2014

How to Auto Play an embed YOU TUBE video, Using the new Embed code

At this point I think you already know how to grab the share embed code from a youtube video.
When you go to the video at the bootm you will see the "share" link then click embed you will get a code similar to this

<iframe width="560" height="315" src="//www.youtube.com/embed/5HN6PYI2hA0" frameborder="0" allowfullscreen></iframe>

all you have to do is add the following to the code: ?rel=0&autoplay=1

this is what it should look like:
<iframe width="560" height="315" src="//www.youtube.com/embed/5HN6PYI2hA0?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>



Translate