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: Thu, 8 Jul 2010 06:56:53 -0700
To: Andrei Popescu <andreip@google.com>, Ilkka Oksanen <Ilkka.Oksanen@nokia.com>
CC: Rich Tibbett <rich.tibbett@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <753F67ADE6F5094C9F1DBA00D1BAA8D325A815A47C@orsmsx501.amr.corp.intel.com>

> 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? 

Dzung Tran
Received on Thursday, 8 July 2010 13:57:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:22 UTC