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

Re: [html-media-capture] capture vs. accept

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 27 Jul 2012 08:34:32 +0200
Message-ID: <CADnb78h=dkKT0+JNtiDVbs2z-P=2wyB2Lu4pG8JY9rbbPw3v-A@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: public-device-apis@w3.org
On Fri, Jul 27, 2012 at 12:15 AM, fantasai
<fantasai.lists@inkedblade.net> wrote:
> So the distinction between the two is that using the 'capture' attribute
> indicates that a live capture is preferred?
> In that case, I suggest that the 'capture' attribute be a boolean,
> leaving the type-checking to the 'accept' attribute, which already
> serves this function.
> Not only would this avoid duplication, it also avoids conflicts like
>   <input capture=microphone accept='image/*'>

That does not allow hinting the user-facing camera ought to be used
(typical phone these days has two cameras). (Not sure that use case is
addressed now though.)

Received on Friday, 27 July 2012 06:35:04 UTC

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