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

[whatwg] <video> resource selection algorithm and NETWORK_NO_SOURCE

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 9 Dec 2010 01:58:12 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1012090152300.26618@ps20323.dreamhostps.com>
On Wed, 1 Sep 2010, Simon Pieters wrote:
> 
> I think it might be good to run the media element load algorithm when 
> setting or changing src on <source> (that has a media element as its 
> parent), but not type and media (what's the use case for type and 
> media?). However it would fire an 'emptied' event for each <source> that 
> changed, which is kind of undesirable. Maybe the media element load 
> algorithm should only be invoked if src is set or changed on a <source> 
> that has no previous sibling <source> elements?

What's the use case? Just set .src before you insert the element.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 8 December 2010 17:58:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC