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

[whatwg] video tag : loop for ever

From: Eric Carlson <eric.carlson@apple.com>
Date: Wed, 15 Oct 2008 13:56:03 -0700
Message-ID: <BCD8548D-02CD-4CC5-A501-24A2DB31925A@apple.com>

On Oct 14, 2008, at 5:40 PM, Ian Hickson wrote:

> There is no way to say "loop forever" right now primarily because  
> doing so
> would mean complicating the syntax of the playcount attribute to be  
> not
> just a number. You can work around it with script (just add
> onended="currentTime=0" to the <video> element).
>
> To be honest I'm not really convinced we need the looping feature at  
> all.
> It seems like we should drop this from the current version. What  
> benefit
> does it bring? Is looping really that common? If we got rid of it we  
> could
> find better ways of picking the start time.
>
   As we discussed on IRC today, I think a valid use case for looping  
is background audio. It is possible to implement looping from script,  
but as someone else in this thread commented, it will be very  
difficult to do cleanly (eg. without artifacts).

   Having said that, I don't think that "loopstart" and "loopend" will  
be used frequently enough justify inclusion in the (first version of  
the) spec.

eric
Received on Wednesday, 15 October 2008 13:56:03 UTC

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