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

Autoplay video when site is finished loading

Discussion in 'Web Design' started by iliketurtles, Jan 7, 2010.

  1. iliketurtles

    iliketurtles Regular Member

    Joined:
    Dec 10, 2008
    Messages:
    283
    Likes Received:
    10
    Home Page:
    Not sure if I`m putting this in the right place, but whattaheck.. :D

    I have a small website I wanna have a video in. It`s a sales page, and the vid is going to convince people to buy. :rolleyes: I want the video to start playing when the site is finished loading, maybe after half a second, a second, or something. Anyway, what I DONT want is a Youtube video. The video must not have a frame all the way around it, but it may, however, have buttons for sound volume, pause & play at the bottom.

    One more thing, I would like the video to be clickable after it`s finished playing, so I can send people off to the payment site.

    What would be the best solution to make this work?
     
  2. megaplex

    megaplex Regular Member

    Joined:
    Oct 19, 2008
    Messages:
    404
    Likes Received:
    81
    Occupation:
    Apprentice Muppet
    Location:
    Australia
    Home Page:
    Example code:

    <object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/ATseT9sBtxM&start=5&autoplay=1&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ATseT9sBtxM&start=2&autoplay=1&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>

    example video

    http://www.youtube.com/watch?v=vOKOLWhIO5E