W3C home > Mailing lists > Public > public-html@w3.org > December 2008

Media element events

From: Simon Pieters <simonp@opera.com>
Date: Tue, 02 Dec 2008 14:08:08 +0100
To: public-html <public-html@w3.org>
Message-ID: <op.uljdfuo9idj3kv@zcorpandell.linkoping.osa>

We're a bit concerned about the events for media elements.

The spec doesn't have any event handler attributes for them, but has for  
seemingly all other events. Firefox seems to support at least <video  
onloadstart>. Catching the 'loadstart' event is not possible without a  
content event handler attribute if you have <video src> in the markup. XHR  
has DOM event handler attributes for progress events. So it seems a bit  
weird that <video> doesn't have them. Is it intentional?

Another thing is that there are quite many events. The use cases for all  
events aren't clear to us. Maybe some of them could be grouped together  
into a single readystatechange event? Maybe also networkstatechange? Maybe  
some could be dropped?

Simon Pieters
Opera Software
Received on Tuesday, 2 December 2008 13:08:50 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:40 UTC