W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] HTMLMediaElement.load()

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 23 Mar 2007 15:59:10 -0700
Message-ID: <66E4492A-73C3-401C-ADF0-6A537F717571@apple.com>

On Mar 23, 2007, at 3:20 PM, Ian Hickson wrote:

> On Fri, 23 Mar 2007, Anne van Kesteren wrote:
>>
>> How can load() be invoked when certain method calls have not yet  
>> returned?
>
> Most of the methods result in synchronous event dispatch, which can
> invoke further code.
>
>
>> Why does it switch to the PAUSED state? Isn't it only supposed to be
>> loading the content?
>
> The STOPPED state represents when there is no data. There is now  
> data, so
> it is no longer STOPPED. (STOPPED was at one point called NO_MEDIA.  
> Maybe
> we should consider changing it back.)

I would suggest adopting the states from the Apple proposal instead,  
where this state would correspond to UNINITIALIZED (starting a load  
would switch to LOADING state).

Regards,
Maciej
Received on Friday, 23 March 2007 15:59:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC