W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] Infinite loopcount for audio and video

From: Stefan Haustein <sh@kobjects.org>
Date: Mon, 23 Apr 2007 23:37:43 +0200
Message-ID: <462D2727.40803@kobjects.org>
Hi,

I think in loopcount="forever" the units do not match (no unit / time).

I would prefer "Infinity" because it is a valid ECMAScript literal
(=1/0).  "Indefinite" (=0/0 ?) looks really strange...

Best regards,
Stefan


Kristof Zelechovski wrote:
> loopcount="forever"?  It looks better than "Inf".
> loopcount="-1"?  Is a number, + a static constant for LOOPCOUNT_FOREVER in
> the DOM.
> Not that I consider the exact wording very important anyway.
> Chris
>
> -----Original Message-----
> From: whatwg-bounces at lists.whatwg.org
> [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of ddailey
> Sent: Monday, April 23, 2007 9:33 PM
> To: Elliotte Harold; WHAT WG List
> Subject: Re: [whatwg] Infinite loopcount for audio and video
>
> Makes sense to me. If such a thing is not already spoken for why not aim 
> toward a little consistency with pre-existing implementations, like in SVG, 
> where it would be repeatCount="indefinite"?
>
> Not my favorite piece of nomenclature ever, but it's out there and has a 
> user-base already.
>
> David
> ----- Original Message ----- 
> From: "Elliotte Harold" <elharo at metalab.unc.edu>
> To: "WHAT WG List" <whatwg at whatwg.org>
> Sent: Monday, April 23, 2007 3:20 PM
> Subject: [whatwg] Infinite loopcount for audio and video
>
>
>   
>> Is there a way to specify continuous looping for audio and video elements?
>>     
>
>   
>> e.g. something like
>>
>> <audio src="spacemusic.mp3"
>>   autoplay="autoplay" loopcount="Inf" />
>>
>> If not, should there be?
>>
>> -- 
>> Elliotte Rusty Harold  elharo at metalab.unc.edu
>> Java I/O 2nd Edition Just Published!
>> http://www.cafeaulait.org/books/javaio2/
>> http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
>>
>>
>>     
>
>
>   
Received on Monday, 23 April 2007 14:37:43 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC