[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 ?

Cheers,
-- 
Nils Dagsson Moskopp
<http://dieweltistgarnichtso.net>

Received on Wednesday, 29 October 2008 11:24:59 UTC