W3C home > Mailing lists > Public > public-html@w3.org > May 2011

Re: New approach to HTML Media Capture

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 12 May 2011 18:40:14 +0000 (UTC)
To: Dominique Hazael-Massieux <dom@w3.org>
cc: Aryeh Gregor <Simetrical+w3c@gmail.com>, Maciej Stachowiak <mjs@apple.com>, David Singer <singer@apple.com>, public-html@w3.org
Message-ID: <Pine.LNX.4.64.1105121838500.16840@ps20323.dreamhostps.com>
On Thu, 12 May 2011, Dominique Hazael-Massieux wrote:
> Le lundi 25 avril 2011 à 19:56 +0000, Ian Hickson a écrit :
> > > From the perspective of what the user is technically able to do, this 
> > > feature [of distinguishing selecting a file from capturing it from a camerea]
> > > is not needed, but for a user experience that matches native 
> > > apps, it is.
> > 
> > That's fair enough.
> > 
> > Do browsers implement anything like this yet?
> 
> The Android browser does:
> http://developer.android.com/sdk/android-3.0.html
> 
> Others (e.g. Mozilla) have expressed interest on it before, but I don't
> think they have implemented it yet.
> 
> > What was the reasoning behind moving from a parameter to a separate 
> > attribute?
> 
> Some of it is documented in http://www.w3.org/2009/dap/track/issues/105
> 
> In particular, having to microparse the accept attribute was felt as
> cumbersome/fragile:
> http://lists.w3.org/Archives/Public/public-device-apis/2010Nov/0056.html

Since the only known implementation (according to the above) uses a 
parameter, it seems to me we should go with the parameter...

We can solve the "microparsing" problem by just defining it as a fixed 
string, instead of requiring any parsing. Probably the simplest solution 
if we do that, though, is just to list them all in the HTML spec rather 
than having a separate spec just for these values.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 12 May 2011 18:40:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:31 GMT