1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Auto-start youtube video?

Discussion in 'YouTube' started by crackzter, Jul 23, 2008.

  1. crackzter

    crackzter Newbie

    Joined:
    May 30, 2008
    Messages:
    2
    Likes Received:
    0
    Hallo everyone.
    I didn't know exactly where to post this, but since it has something do to
    with youtube I though I would post it here.
    -
    I know this sounds as a noob question, but I've been searching the
    internet a long time to find out how to post a auto-starting video from Youtube, in a profile on a website, http://www.arto.dk. It is a danish website, and Denmark is a small country, so it didn't surprise me that I couldn't find af guide about this.

    Anyone could tell me how to this?
     
  2. Olly

    Olly Junior Member

    Joined:
    Jun 28, 2007
    Messages:
    153
    Likes Received:
    246
    I dunno how you put them on that website but you can edit the embed HTML to autoplay the video, by adding "&autoplay=1" to the end of the URL;

    Original Code:

    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/oP7wHOHYCdc"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/oP7wHOHYCdc" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>


    Autoplay Code:

    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/oP7wHOHYCdc&autoplay=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/oP7wHOHYCdc&autoplay=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
     
  3. crackzter

    crackzter Newbie

    Joined:
    May 30, 2008
    Messages:
    2
    Likes Received:
    0
    That was exactly what I was looking for!
    Thank you so much Olly! :b
     
  4. Olly

    Olly Junior Member

    Joined:
    Jun 28, 2007
    Messages:
    153
    Likes Received:
    246
    Heh, no problem glad I could help :D
     
    • Thanks Thanks x 1