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

Auto Play Video

Discussion in 'HTML & JavaScript' started by maximart4u, Feb 10, 2010.

  1. maximart4u

    maximart4u Registered Member

    Joined:
    Aug 11, 2008
    Messages:
    95
    Likes Received:
    32
    Hey,

    Im a noob at scripting.

    I was wondering if it's possible to play a video on a loop on a page.

    It has to auto play as soon as the page is loaded and automatically start again after the video has finished.

    Is this possible?

    Thanks.
     
  2. n2zen

    n2zen Regular Member

    Joined:
    Sep 27, 2009
    Messages:
    269
    Likes Received:
    70
    Depends on the how/what of the video and page.

    Easy way: Use youtube vids and add the following to the very end of the video URL

    for autoplay...
    &autoplay=1

    For looping...
    &loop=1

    Example
    Code:
    http://www.youtube.com/v/6gmP4nk0EOE&autoplay=1&loop=1
     
    • Thanks Thanks x 1