RSS

How To Auto Play Embedded Youtube Video

05 Sep

If we need to embed a youtube video in our website, we take the code from youtube share tab.
Youtube Embed
Youtube Embed
For illustration purpose, I am taking the youtube video about Apple Macbook. Here is the link: http://www.youtube.com/watch?v=Neff9scaCCI

Now here is the default embed code to embed the video:

1

Video without autoplay:

Now the key to play the video automatically is to add a query string to youtube embed video link. The query string value is autoplay=1. So the new code looks like this.

1

Advertisements
 
1 Comment

Posted by on September 5, 2013 in Web

 

One response to “How To Auto Play Embedded Youtube Video

  1. Pingback: My Homepage

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: