I'm looking to place a video in an HTML5 page that will begin playing on page-load, and once completed, loop back to the beginning without a break. The video should also NOT have any controls associated with it, and either be compatible with all 'modern' browsers, or have the option of a polyfill.
Previously I would have done this via Flash
and FLVPlayback
, but I would prefer to steer clear of Flash
in the HTML5 sphere. I'm thinking I could use javascript's setTimeout
to create a smooth loop, but what should I use to embed the video itself? Is there something out there that will stream the video the way FLVPlayback
would?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…