Re: 'loadend' event on media elements

On Thu, 06 Aug 2009 17:46:26 +0200, Simon Pieters <simonp@opera.com> wrote:

> The Progress Events spec talks about a 'loadend' event that is to be  
> fired after load, error or abort. However, HTML5 doesn't say anything  
> about loadend for <video> and Firefox, Chrome and Safari don't fire  
> loadend.
>
> What do we want to do with loadend?

When a media element has <source> children (and no src=''), the load might  
never complete, so in that case there would be no loadend event unless you  
got an abort or load event. When it has src='', you would always get a  
loadend event.

-- 
Simon Pieters
Opera Software

Received on Friday, 7 August 2009 15:07:35 UTC