W3C home > Mailing lists > Public > public-device-apis@w3.org > July 2010

RE: Media Capture API restructured

From: Tran, Dzung D <dzung.d.tran@intel.com>
Date: Fri, 9 Jul 2010 20:37:34 -0700
To: Andrei Popescu <andreip@google.com>
CC: Ilkka Oksanen <Ilkka.Oksanen@nokia.com>, Rich Tibbett <rich.tibbett@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <753F67ADE6F5094C9F1DBA00D1BAA8D325A82BF4FF@orsmsx501.amr.corp.intel.com>
Andrei,

> -----Original Message-----
> From: Andrei Popescu [mailto:andreip@google.com] 
> Sent: Friday, July 09, 2010 04:59 AM
> To: Tran, Dzung D
> Cc: Ilkka Oksanen; Rich Tibbett; public-device-apis@w3.org
> Subject: Re: Media Capture API restructured
>
> On Thu, Jul 8, 2010 at 2:56 PM, Tran, Dzung D <dzung.d.tran@intel.com> wrote:
>>
>>> For a device that has a camera onboard, this is how it works in our
>>> implementation:
>>>
>>> <input type="file">
>>>
>>> This triggers a file picker with all options available: gallery,
>>> camera, camcorder, microphone.
>>>
>>> <input type="file" accept="image/*">
>>>
>>> This triggers a file picker with only two choices: gallery, camera.
>>>
>>> <input type="file" accept="image/*;source="camera">
>>>
>>> This triggers the camera viewfinder directly. On Android, the
>>> viewfinder is fullscreen and doesn't have a button to switch to the
>>> gallery.
>>>
>>
>> This seems reasonable and simple enough. Just one question, how would you select only files and no devices?
>>
>
> "source=filesystem" ? Would that sound reasonable?

source="filesystem" would work

Thanks
Dzung Tran
Received on Saturday, 10 July 2010 03:38:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:45 UTC