W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

Re: [whatwg] Supporting scanners on the web

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 14 Oct 2013 15:47:39 -0700
Message-ID: <CA+c2ei-k0==3AzqUv9DQjjY79mHrYNaXVh8dvn+qh4zkp8q7xg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Jeff Muizelaar <jmuizelaar@mozilla.com>, Benjamin Smedberg <benjamin@smedbergs.us>, Robert O'Callahan <robert@ocallahan.org>, WHAT Working Group <whatwg@whatwg.org>
On Mon, Oct 14, 2013 at 3:33 PM, Ian Hickson <ian@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
Received on Monday, 14 October 2013 22:48:33 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:11 UTC