[whatwg] HTMLMediaElement.load()
Ian Hickson
ian at hixie.ch
Fri Mar 23 15:20:07 PDT 2007
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.)
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list