Media element events

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