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>



2 comments:

  1. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration. Thanks for share great infoWhite Label SEO

    ReplyDelete
  2. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. hosting forum

    ReplyDelete

Translate