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

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.)


-- 
http://annevankesteren.nl/

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