<br><br><div><span class="gmail_quote">On 3/21/07, <b class="gmail_sendername">Chris Double</b> <<a href="mailto:chris.double@double.co.nz">chris.double@double.co.nz</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Looping is useful for more presentational uses of video. Start and<br>> end time are useful in case you want to package a bunch of small bits<br>> of video in one file and just play different segments, similar to the
<br>> way content authors sometimes have one big image and use different<br>> subregions. Or consider looping audio, or a single audio file with<br>> multiple sound effects. These are two examples.<br><br>Could the looping be done via javascript rather than having explicit
<br>support for it with loopStartTime, etc? If an event is raised when the<br>video reaches endTime then event handler could then restart it.</blockquote><div><br>For smooth looping, you need to have the next buffer ready and cued up when the previous one finishes. Doing this consistently with a roundtrip through javascript events is going to stutter or gap. For video at 30fps, you can make the interval, but audio at 48khz means you are more likely to hear a click or gap.
<br> </div><br></div><br>