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

Youtube Help

Discussion in 'HTML & JavaScript' started by macdonjo3, Jan 17, 2010.

  1. macdonjo3

    macdonjo3 Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    5,613
    Likes Received:
    4,353
    Location:
    Toronto
    Home Page:
    There is a code for this... It like makes the video 1 px by 1 px and then you put your youtube video url with like &autoplay=1 or something on the end and then it plays the video (hidden) on the website. Does anyone have the code for this?
     
  2. Typhoon Blogger

    Typhoon Blogger Registered Member

    Joined:
    Jan 29, 2009
    Messages:
    70
    Likes Received:
    7
    take the embed code and change it like this
    Code:
    <object width="1" height="1"><param name="movie" value="http://www.youtube.com/v/uXetWuzxhD0&hl=en_US&fs=1&autoplay=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/uXetWuzxhD0&hl=en_US&fs=1&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="1" height="1"></embed></object>
    i put autoplay in both url's cus I'm not pretty sure which one is the right one at the moments but just do some testing. you get the picture
     
  3. macdonjo3

    macdonjo3 Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    5,613
    Likes Received:
    4,353
    Location:
    Toronto
    Home Page:
    ok, thank-you, I will report back on my luck. :)
     
  4. macdonjo3

    macdonjo3 Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    5,613
    Likes Received:
    4,353
    Location:
    Toronto
    Home Page:
    Someone also mentioned:
    <embed src="http://www.youtube.com/v/DyLuWaIzBCQ&hl&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="1" height="1"></embed></object>

    Is that anything similar?