Recent Posts

Best Blogger | Tech Tutorials
Subscribe Via Rss Subscribe To The Latest Tips & Tricks
Follow On Twitter Follow @naijaclub10_com On Twitter
Receive The Latest Posts Directly To Your Email - It's Free: Email rss Enter Your Email And Click Subscribe
What is rssHave You Subscribed ?

August 30, 2013

Want to Make Youtube Embed code video auto Start?

By default when you embed a youtube video on a web page using the YouTube embed code the user has to press the play button. For all situations where you want the video to autoplay you need to make two changes to the object embed code that you get from YouTube. 

Look for the location of your video in the object embed code, it should be like:

http://www.youtube.com/watch?v=yRj79pIEkW4

Then add the following at the end:

?autoplay=1

i.e    http://www.youtube.com/watch?v=yRj79pIEkW4?autoplay=1


<iframe width="420" height="315" src="http://www.youtube.com/embed/yRj79pIEkW4?autoplay=1" frameborder="0" allowfullscreen></iframe>


No comments:

Post a Comment