W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] <source> media attribute behavior, static or dynamic ?

From: Kornel Lesiński <kornel@geekhood.net>
Date: Fri, 11 May 2012 15:19:08 +0100
To: whatwg@lists.whatwg.org
Message-ID: <op.wd5d16j3te2ec8@aimac.local>
On Fri, 11 May 2012 11:24:20 +0100, Simon Pieters <simonp@opera.com> wrote:

>
> It is not appropriate for choosing between low resolution and high  
> resolution, because the environment can change (e.g. the user might  
> fullscreen the video after it has begun loading, and want high  
> resolution). Also, bandwidth is not available in MQ, but even if it was,  
> the user agent is in a better position to determine what is appropriate  
> than the author.
>
> It would be better to have a solution where the user agent is informed  
> about which streams are available and what properties they have, and let  
> the user and user agent switch streams at will. Maybe this should happen  
> on the network layer, keeping the same selected <source> URL.

There is a similar issue with "responsive images" selected for screen  
density and available bandwidth. Current proposal floating around uses  
<picture><source media="MQ"></picture> and suffers the same problem of MQ  
being inappropriate for bandwidth and relies on authors choosing the right  
criteria.

Perhaps there should be an attribute(s) on <source> that describes  
properties of the resource, and could be used for both video and images?

-- 
regards, Kornel Lesiński
Received on Friday, 11 May 2012 14:19:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT