[whatwg] Error in the play() method's algorithm

Robert O'Callahan robert at ocallahan.org
Sun Feb 8 17:25:12 PST 2009

Step 3.3 says "Otherwise, the media element's readyState attribute has the

But this isn't true. It could be HAVE_NOTHING, in fact it will often be
HAVE_NOTHING, because if the network state was NETWORK_EMPTY when play() is
called, then the load() method will have returned with the readyState set to

I suspect the description of play() needs to be updated to account for the
change to make load() asynchronous.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090209/d054612b/attachment-0001.htm>

More information about the whatwg mailing list