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

[whatwg] video tag : loop for ever

From: timeless <timeless@gmail.com>
Date: Fri, 24 Oct 2008 15:44:11 +0200
Message-ID: <26b395e60810240644p7432acacsecc730aa65ac77ab@mail.gmail.com>
Sounds like what you really want is an audio/video stiching api so
that you could concatenate a second sound track and achieve a smooth
transition.

On 10/23/08, Maciej Stachowiak <mjs at apple.com> wrote:
>
> On Oct 14, 2008, at 5:40 PM, Ian Hickson wrote:
>
>>
>> There is no way to say "loop forever" right now primarily because
>> doing so
>> would mean complicating the syntax of the playcount attribute to be
>> not
>> just a number. You can work around it with script (just add
>> onended="currentTime=0" to the <video> element).
>
> This would lead to perceptible glitches in looped audio, compared to
> being able to represent the looping to the media framework.
>
>> To be honest I'm not really convinced we need the looping feature at
>> all.
>> It seems like we should drop this from the current version. What
>> benefit
>> does it bring? Is looping really that common? If we got rid of it we
>> could
>> find better ways of picking the start time.
>
> For example: I think looped audio would be a common thing for games to
> want to do, and they wouldn't want it to glitch when it loops.
>
> Regards,
> Maciej
>
>

-- 
Sent from Gmail for mobile | mobile.google.com
Received on Friday, 24 October 2008 06:44:11 UTC

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