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

Re: Media Capture API restructured

From: Andrei Popescu <andreip@google.com>
Date: Fri, 9 Jul 2010 12:58:35 +0100
Message-ID: <AANLkTimHYoWwa9vmYxl0TGjdOYxL27rE7vV92Be2guxn@mail.gmail.com>
To: "Tran, Dzung D" <dzung.d.tran@intel.com>
Cc: Ilkka Oksanen <Ilkka.Oksanen@nokia.com>, Rich Tibbett <rich.tibbett@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
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?

Thanks,
Andrei
Received on Friday, 9 July 2010 11:59:05 UTC

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