[whatwg] Reworking the media load() algorithm so that it tries more than one video

Ian Hickson ian at hixie.ch
Thu Nov 13 22:51:04 PST 2008


On Thu, 16 Oct 2008, Robert O'Callahan wrote:
> >
> > I am proposing changing the spec to make the load() not select a 
> > resource. Instead, load() would immediately return, and the user agent 
> > would then asynchronously try each resource that it might otherwise 
> > use in turn, firing a single loadstart event at the start, lots of 
> > progress events, and then a loadedmetadata or error event depending on 
> > how things go.
> 
> That sounds good.

I've now done this. This is a pretty big change. I'm sure I've screwed 
something up in the process.

Implementors! Please let me know if you see anything newly broken with 
loading resources! Thanks. :-)

Cheers,
-- 
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