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  

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 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC