W3C home > Mailing lists > Public > public-html-comments@w3.org > October 2009

Re: Video DOM API

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Wed, 14 Oct 2009 22:54:05 -0400
To: "Simon Pieters" <simonp@opera.com>, public-html-comments@w3.org
Message-ID: <op.u1tmcfo91ejg13@sandra-svwliu01>
On Wed, 14 Oct 2009 06:50:49 -0400, Simon Pieters <simonp@opera.com> wrote:

> On Wed, 14 Oct 2009 12:11:27 +0200, Michael A. Puls II  
> <shadow2531@gmail.com> wrote:
>>> What behavior do you expect when using <source>s instead of src?
>> Well, you can insert, replace and remove a <source> element. You can  
>> change @src and @type on each <source> that's present.
> Also keep in mind that the parser inserts <source> elements.


>> One easy way (thought-wise) to handle that is that whenever any of that  
>> happens, the UA should stop, unload, reset states and figure out what  
>> <source> to play.
> The resource selection algorithm tries each <source> in turn. It seems  
> bad to start over several times during parsing.


>> On the other hand, you might want to change @src for multiple <source>s  
>> without triggering a reevalutation until you explicitly call for one.
> Indeed.
>> Or, you might want a mix of the two that depends on whether there's  
>> just one <source> or where you're inserting a <source> (before the one  
>> that's currently being used for example) or which <source> you're  
>> removing (the one being used or not).
>> So, I mostly expect the first way. However, the second seems simpler  
>> and would just cover everything.
>> But, note that I haven't really dealt with the multiple type fallback  
>> stuff yet, so I don't have a strong opinion on <source> yet.

Received on Thursday, 15 October 2009 02:54:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:25 UTC