W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] video tag : loop for ever

From: WeBMartians <webmartians@verizon.net>
Date: Thu, 16 Oct 2008 09:16:56 -0400
Message-ID: <B02BA01ADB78434C8CBA42C2EC62E1D8@pirate>
...not sure if the following has been noted; if so, apologies...

Currently, animated GIF and MNG images are used, sometimes, in "loop forever" form. Assuming that video might be used in an
analogous fashion, loop-forever should be supported.

I shudder to think about looping audio, however. Animated GIFs are often called "dancing baloney" ... and looping audio would be...?

A-GIF and MNG do not support sub-clips ... and that's for a good reason: even as primitive as they are, GIF and MNG do offer a level
of compression and jumping to some arbitrary or near-arbitrary spot in the clip is very difficult. As a counterpoint, jumps are
supported by the various <embed> and <video> engines ... and can be completely screwed up if the content does not follow best
practices, such as frequent full-frame resets.

Using Javascript to estimate duration and thereby control the playback of WAV, MP3 or Ogg files has been done, but may not be
feasible due to difficulties in determining load completion (onload), inaccuracy in the handling of timer events, and difficulties
in skipping over unwanted content. Currently, the best practice is to have discrete content in order to avoid jumps.
Received on Thursday, 16 October 2008 06:16:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:44 UTC