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

[whatwg] Infinite loopcount for audio and video

From: Martijn <martijn.martijn@gmail.com>
Date: Tue, 24 Apr 2007 00:01:53 +0200
Message-ID: <6c97b8b10704231501t5698d245i4f1565758595641e@mail.gmail.com>
The marquee element uses the loop attribute:
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/loop_1.asp
where -1 means that it loops infinitely.
Personally, I prefer that one the most.

Regards,
Martijn

2007/4/23, Stefan Haustein <sh at 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/
> >>
> >>
> >>
> >
> >
> >
>
>


-- 
Martijn Wargers
Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://www.mozilla.org/contribute/
Received on Monday, 23 April 2007 15:01:53 UTC

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