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

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.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 13 November 2008 22:51:04 UTC