Results 1 to 2 of 2

Thread: How do I loop a video using HTML?

  1. #1
    Join Date
    Jan 2004
    Location
    Iceland
    Posts
    143

    Question How do I loop a video using HTML?

    How do I set a video to an infinite loop using HTML(and possibly javascript?) that works in IE, Firefox and Safari?
    Last edited by brynjarh; 27 Jan 2008 at 09:45 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Connecticut (United States)
    Posts
    8
    I assume you mean a video embedded into the page using an "embed" tag? If so, I believe all you need to do is set the "loop" attribute to "true."

    I'm not completely sure, as I haven't tried it myself, but that should work.

    Edit: I just tested it out with a .mpg file and it worked fine for me (I tested in Internet Explorer 6 & 7, Firefox 2, Opera 9, Maxthon 2, and Netscape 9, using the Quicktime and Windows Media Player plugins), so it should work.
    Last edited by Hob Bramble; 29 Jan 2008 at 10:10 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •