[whatwg] Supporting scanners on the web

Jonas Sicking jonas at sicking.cc
Mon Oct 14 15:47:39 PDT 2013


On Mon, Oct 14, 2013 at 3:33 PM, Ian Hickson <ian at hixie.ch> wrote:
>
> On Mon, 30 Sep 2013, Benjamin Smedberg wrote:
>>
>> For now I intend to focus on implementing the scanning UI in the browser
>> and just handing the site the final product. Any thoughts of exposing a
>> fine-grained control over previews and incremental results needs
>> significantly more thought about how that would work on both desktop and
>> mobile devices.
>
> I'd recommend going with <input type=file accept=image/*> for now, and
> seeing where that gets us. We can always add attributes or an API if
> there's a real need for more control.

For what it's worth, I think the way I would do this in Firefox is to
add an addon hook for "image providers" (and maybe "video providers")
which would allow us to create an WebActiity/AndroidIntent-like
chooser.

/ Jonas



More information about the whatwg mailing list