W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] video tag : loop for ever

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Wed, 29 Oct 2008 19:35:14 +0100
Message-ID: <3EB263F3120F4A099997691B05E8EAD2@POCZTOWIEC>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC