[whatwg] Infinite loopcount for audio and video

Ian Hickson ian at hixie.ch
Thu Oct 18 02:47:56 PDT 2007

On Mon, 23 Apr 2007, Elliotte Harold wrote:
> Is there a way to specify continuous looping for audio and video 
> elements?

Not currently, short of some simple JavaScript.

> e.g. something like
> <audio src="spacemusic.mp3" autoplay="autoplay" loopcount="Inf" />
> If not, should there be?

I don't know, should there? I'm guessing there's not really much demand 
for it, so I've put it on the version 2 feature request list.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list