How to Autoplay YouTube Videos

Ever wonder how to get YouTube Videos to autoplay on a website? I’ll show you how to easily do this.

.

1. Go to the YouTube page and customize the options for embedding as desired

.

.

2. Highlight the code by clicking in the “Embed” box then right click and choose copy

.

.
3. Copy the code to a notepad file
.

.

4. You need to replace rel=0 with rel=1&autoplay=1 in the highlighted spot above

.

.

5. You need to replace rel=0 with rel=1&autoplay=1 in the highlighted spot above

.

.

6. The end result should be code that looks like the second block.

.

That’s all there is to it! If you copy this code into the appropriate location of your HTML file, your YouTube video will now autoplay. Just remember to use this carefully. Some people find it annoying. You also want to make sure you don’t autoplay more than one video on the same page!

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • FriendFeed
  • MySpace
  • Posterous
  • StumbleUpon
  • Technorati
  • Twitter
  • BlinkList
  • Fark
  • Identi.ca
  • Slashdot
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Post to Twitter Tweet This Post

  • Vivienne
    omg thnxs this really helps :)
  • Mave_eve
    wow! thanks! it works!
blog comments powered by Disqus