Friday, June 17, 2016

Make A YouTube Video Auotplay

This is very easy to do and also a very common question.When you place a YouTube video on your blog the default setting is set for the video not to start unless play is clicked.If you would like the video to start automatically when someone arrives on your page you just need to add a simple piece of code.

auto play youtube video
YouTube have a newer embedd code and an old code i will cover both.You can see in both codes were i have added &autoplay=1

- The old YouTube code

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

- The New YouTube Code

<iframe width="560" height="349" src="http://www.youtube.com/embed/vK9_rU37IbE&autoplay=1" frameborder="0" allowfullscreen></iframe>

With the auto play code added your video will now start automatically.

Drop Your Comments, Views And Questions Below.

No comments:

Post a Comment