[whatwg] video tag : loop for ever

Silvia Pfeiffer silviapfeiffer1 at gmail.com
Wed Oct 15 14:10:30 PDT 2008


On Thu, Oct 16, 2008 at 7:56 AM, Eric Carlson <eric.carlson 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).
>>
>> 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.
>>
>  As we discussed on IRC today, I think a valid use case for looping is
> background audio. It is possible to implement looping from script, but as
> someone else in this thread commented, it will be very difficult to do
> cleanly (eg. without artifacts).

I think that's an excuse for poor coding. That should not influence
our decision making.
If it was impossible to implement, I would use it as an argument - but
not if it's just hard.
The implementation of a good codec is hard in the first instance. Lots
of things are hard, but do-able with some skill.
We should react more to user needs than programmer capabilities here.

Silvia.



More information about the whatwg mailing list