AlanWho

Mar 07, 2009

How To Make YouTube Videos Autostart

By default when you embed a youtube video on a web page using the YouTube embed code the user has to press the play button. For all situations where you want the video to autoplay you need to make two changes to the object embed code that you get from YouTube. Look for the location of your video in the object embed code, it should be like:

http://www.youtube.com/v/DMxNkrwajN8

Then append the following at the end:

&autoplay=1

So working with the above example the link to our video in our object embed code would become:

http://www.youtube.com/v/DMxNkrwajN8&autoplay=1

Easy peazy.

Share post on facebook


  • pyari

    I didn’t understand the concluding part of your article, could you please explain it more?

    stop ringing in
    ears

  • Matthew Lee

    Wow! Simple and yet very useful autostart option for YouTube videos! Thanks a lot! Matthew Lee

  • Brian

    Thank you for the tips on how to autostart Youtube! We really appreciate it!

    seek legal representation

  • RatherUseThanFame .

    Very useful info. but struggling to do anything clever like this on google sites.using html box or “insert> You Tube” box, they just ignore it !

  • http://technisize.com/ computer servicing hardware

    this doesn’t work for me…

  • http://forfreeminecraft.com/ Diane Frees
  • http://forfreeminecraft.com/ Diane Frees