Skip to main content

Auto play Youtube videos on your blog/website

When you have watched a great video on Youtube, you might want to share it on your blog/website so that your friends can enjoy it. Then, you will get code and embed the video on your web. However, people must click play button to watch it. Have away to make the Youtube video auto play when people visit your webpage.

  • Open the Youtube video you want to share, click Share button. Click Embed to see the share code.
  • Don't copy the show code. Click Show more to see more options. You will see Use old embed code option. Check it. Then you can copy the shown code.
  • Now go to the webpage where you want to embed the video on. Paste the copied code into webpage editor.
  • Finally, add &autoplay=1 into the code as below:
<object width="560" height="315"><param name="movie" value="//www.youtube.com/v/JZBAymdfKvo?version=3&autoplay=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/JZBAymdfKvo?version=3&autoplay=1&amp;hl=en_US" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>

That's all. Wish succeed!
Example auto play Youtube video:

Comments

Popular posts from this blog

Turn off AutoPlay on Windows

On Windows, when you insert an USB or a CD/DVD into your computer, they are usually opened automatically. So the computer maybe infected autorun virus. To avoid that, you should turn off AutoPlay function.

Create Wordpress page template

When creating a new page in Wordpress, we usually have a choice for the page template. It's call Default template . However, we sometimes need to make a new page with a new appearance. Then another page template is needed. Instead of downloading a shared page template from internet, we can create a new page template by below instructions.