W3C home > Mailing lists > Public > public-html@w3.org > August 2009

Re: 'loadend' event on media elements

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 13 Aug 2009 20:08:38 -0700
Message-ID: <63df84f0908132008u24a97622wcfb985359398ba08@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Simon Pieters <simonp@opera.com>, "public-html@w3.org" <public-html@w3.org>
On Thu, Aug 13, 2009 at 7:06 PM, Ian Hickson<ian@hixie.ch> wrote:
> On Thu, 6 Aug 2009, Simon Pieters 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?
>
> On Fri, 7 Aug 2009, Simon Pieters wrote:
>>
>> 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.
>
> What's the difference between 'load' and 'loadend'?

'load', 'error', and 'abort' are mutually exclusive. 'loadend' fires
after any of the three.

/ Jonas
Received on Friday, 14 August 2009 03:09:39 UTC

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