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

[whatwg] video tag : loop for ever

From: Henri Sivonen <hsivonen@iki.fi>
Date: Wed, 15 Oct 2008 14:06:20 +0300
Message-ID: <28EA9630-2E25-42FD-92F4-89E7F7E379D2@iki.fi>
On Oct 15, 2008, at 03:40, 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.


One benefit of getting authors to use a declarative attribute instead  
of a script is that a declarative attribute is easier to greasemonkey  
away if the user seriously doesn't like looping.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Wednesday, 15 October 2008 04:06:20 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC