[whatwg] video tag : loop for ever
jonas at sicking.cc
Wed Oct 29 22:27:33 PDT 2008
On Oct 29, 2008, at 18:34, "Silvia Pfeiffer"
<silviapfeiffer1 at gmail.com> wrote:
> On Thu, Oct 30, 2008 at 11:52 AM, Jonas Sicking <jonas at sicking.cc>
>> Eduard Pascual wrote:
>>> On Wed, Oct 29, 2008 at 6:16 PM, Jonas Sicking <jonas at sicking.cc>
>>>> Maciej (and I think others) have suggested that it would be
>>>> useful if it
>>>> possible to allow <audio> to be used such that a single file can be
>>>> downloaded that contains multiple sound effects, and then use
>>>> play different sound effects contained in that file at various
>>>> For example someone creating a shoot-em-up game might create a
>>>> file that
>>>> contains the sound for "shoot weapon", "enemy exploding", "player
>>>> and "player finishes level". It can then when appropriate use
>>>> play any one of these sound effects.
>>> Wouldn't multiple <audio> elements be better here? They'd point to
>>> actual same file, but different fragments. That would even make the
>>> script less bloated (just selecting each element, instead of
>>> explicitly getting the appropriate fragment from the "master" file
>>> each time you need it). This brings the additional advantage that,
>>> the event the server does support file fragments, only the actually
>>> required fragments will be downloaded.
>> The whole idea was to make a single HTTP request to the server.
>> Doesn't seem
>> like your proposal accomplishes that.
>> As I said, I'm fine with not satisfying this use case (of allowing
>> sound effects downloaded in a single request). But that was the use
>> that was cited.
> No, that's not a use case - that's a proposed solution for the use
> case of having multiple small audio files required for playback of one
> larger audio presentation. If another solution can satisfy this need
> with appropriate qos, then I don't think we need to worry further.
That's exactly what proposal 3 was.
More information about the whatwg