How To Make YouTube Videos Auto-Play

Posted In : Uncategorized

There are several reasons of why you would want to upload videos to YouTube and then embed the YouTube video on your website. From a marketing perspective you get the ability to upload content to a powerful website with a lot of authority in the search engines eyes, the ability to publish your videos in front of a large audience and use YouTube’s servers to host your content.

There are several tricks you can do when uploading YouTube videos and one of them is making them auto-play which means they will automatically start to play when you open up the page that video is on. YouTube does this by default on their own website, however when you copy the embed code it is taken out.

Here is a video with the auto-play embedded:

Here is what the code looks like when embedding it without auto-play:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/OdT9z-JjtJk"></param><embed src="http://www.youtube.com/v/OdT9z-JjtJk" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

Here is what the code looks like when embedding it with auto-play:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/OdT9z-JjtJk&autoplay=1"></param><embed src="http://www.youtube.com/v/OdT9z-JjtJk&autoplay=1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

You might have noticed the change in the code. To make a video auto-play you need to add &autoplay=1 right after the video ID. So for example in this case you will want to put it right after the k (http://www.youtube.com/v/OdT9z-JjtJk&autoplay=1)

Happy Embedding!

One Response to “How To Make YouTube Videos Auto-Play”

  1. […] How To Make YouTube Videos Auto-Play | Innovation Simple […]

Trackback URI  |  Comments RSS

Leave a Reply

alert('GET');