Re: Load event and <video>

On Thu, Mar 19, 2009 at 7:55 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> Yes. Generally the load event fires when the layout of the document is
> "stable".

I would say it fires much later than that. For example we've made
background images block the load event. See [1][2] for history.

In general 'load' fires when all external resources have been pulled
down. But it does make sense to me to exclude <video>s from this, so
the suggestion to wait until the poster have been loaded and/or the
videos temporal and spacial dimensions are known.

/ Jonas

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=253851
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=253851#c33

Received on Friday, 20 March 2009 09:25:13 UTC