- From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
- Date: Wed, 29 Oct 2008 19:35:14 +0100
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. Chris -----Original Message----- From: whatwg-bounces@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 ? Cheers, -- Nils Dagsson Moskopp <http://dieweltistgarnichtso.net>
Received on Wednesday, 29 October 2008 11:35:14 UTC