W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Media elements delaying the load event.

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 18 Dec 2008 14:41:40 +1300
Message-ID: <11e306600812171741h2b85a06fk3856993286c81e99@mail.gmail.com>
Currently HTML5 does not require media elements to delay the load event in
any way. We certainly don't want to delay the load event until the entire
resource has finished loading (as we do for images), but I think it would
make sense to delay the load event until media elements that are loading
have reached the HAVE_CURRENT_DATA state (or detected an error). This
ensures intrinsic sizes are available so the layout can stabilize, it
ensures that scripts can access metadata, and it ensures that the video is
displaying something (if it's going to).

"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/20081218/1a599b3d/attachment.htm>
Received on Wednesday, 17 December 2008 17:41:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC