[whatwg] video tag : loop for ever

Kristof Zelechovski giecrilj at stegny.2a.pl
Wed Oct 29 11:35:14 PDT 2008

Multiple AUDIO elements require one request per element unless they refer to
the same stream or they use the data URL scheme, or the whole page is
packaged as multipart/mixed, which would indeed be nice for such sets of
small resources if only user agents supported it.

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Nils Dagsson Moskopp
Sent: Wednesday, October 29, 2008 7:25 PM
To: whatwg
Subject: Re: [whatwg] video tag : loop for ever

Am Mittwoch, den 29.10.2008, 11:16 -0700 schrieb Jonas Sicking:
> Maciej (and I think others) have suggested that it would be useful if it 
> was possible to allow <audio> to be used such that a single file can be 
> downloaded that contains multiple sound effects, and then use javascript 
> to play different sound effects contained in that file at various times.
> For example someone creating a shoot-em-up game might create a file that 
> contains the sound for "shoot weapon", "enemy exploding", "player 
> dying", and "player finishes level". It can then when appropriate use 
> javascript to play any one of these sound effects.

Remind me again what is wrong with multiple <audio> elements ?

Nils Dagsson Moskopp

More information about the whatwg mailing list