W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2012

Re: [capture] HTML Media Capture implementor's feedback

From: Ben Murdoch <benm@google.com>
Date: Fri, 11 May 2012 15:20:51 +0100
Message-ID: <CAPHGM7VXps691Gmvrp0rDPUFfVu-M_sOuVY-8Tv9XpBTYS7skQ@mail.gmail.com>
To: Rich Tibbett <richt@opera.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Anssi Kostiainen <anssi.kostiainen@nokia.com>, Dominique Hazael-Massieux <dom@w3.org>, "public-device-apis@w3.org public-device-apis@w3.org" <public-device-apis@w3.org>, Ilkka Oksanen <Ilkka.Oksanen@nokia.com>, ext Adam Barth <abarth@webkit.org>, Andrei Popescu <andreip@google.com>
On 11 May 2012 12:22, Rich Tibbett <richt@opera.com> wrote:

> Ben Murdoch wrote:
>
>> If the capture and accept attributes aren't compatible then Chrome for
>> Android will ignore the capture attribute. For example:
>>
>> <input type=file accept="video/*" capture="camera">
>>
>> Will result in a standard Android file picker filtered to only show file
>> sources that can provide video.
>>
>
> Great. There was an unresolved issue in the spec related to this so we
> should update the spec to say that the accept property, if provided, takes
> precendence over any capture value. We should also say that we should treat
> the capture value as null in such cases also and fallback to standard
> <input type=file> behavior.
>
> Do you also support, or plan to support the proposed extended media
> attributes for media-based file objects [1]? IMO this is an orthogonal
> discussion to implementing the capture attribute since it should also apply
> to any image/video/audio files obtained by other means (e.g. via a standard
> file picker dialog). It would probably benefit from a separate
> specification but your input would be helpful.
>

No plans at the moment. I agree it would probably be better placed in
another specification, perhaps part of the File API?


>
> Thanks,
>
> Rich
>
> [1] http://dev.w3.org/2009/dap/**camera/#idl-def-MediaFileData<http://dev.w3.org/2009/dap/camera/#idl-def-MediaFileData>
>
>
>
>


-- 
Google UK Limited

Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W
9TQ
Registered in England Number: 3977902
Received on Friday, 11 May 2012 14:21:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 May 2012 14:21:23 GMT