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

For the love of god, how do you autoplay youtube videos on a website?

Discussion in 'YouTube' started by bryce, Dec 23, 2011.

  1. bryce

    bryce Newbie

    Joined:
    Dec 23, 2009
    Messages:
    44
    Likes Received:
    14
    Okay, I have been trying to do this for the last 2 hours trying to figure out how to autoplay a damn video on my wordpress site.

    This is what I'm trying to do.

    Have my video play in a widget automatically when someone visits. I've seen many posts about adding this autoplay script to the end of the video, but youtube changed the way the embed code looks so it doesn't work.

    I used tubepress (youtube plugin) and I got it to work, however, part of the video is cut off unless I make the widget like 700 pixels wide. And there's no option to change the actual video size from youtube itself using tubepress since you just put in the video ID.

    Does anyone know how to autoplay a video with the html code from youtube so i can adjust the dimensions and it's not cut off?
     
  2. starcity83

    starcity83 Regular Member

    Joined:
    Jun 30, 2011
    Messages:
    381
    Likes Received:
    101
    Occupation:
    None
    Location:
    Mars
    I the script make the following changes, just check your script and make sure both these values are 0:

    startPage=0&autoPlay=0
     
  3. Mountaineer

    Mountaineer Senior Member

    Joined:
    Oct 14, 2011
    Messages:
    912
    Likes Received:
    149
  4. martbost

    martbost Registered Member

    Joined:
    Mar 10, 2011
    Messages:
    76
    Likes Received:
    183
    I currently use &autoplay=1 in my embed code at the end of the youtube video URL and it works okay.