Force laptop to open camera on input to HTML5 file Accept image / * capture

I need an HTML5 application to capture a high resolution image - the video / getUserMedia / canvas combination works but does not provide the required resolution.

Using input type = "file" accept = "image / *" capture> (or capture = "camera") works fine mobile devices (tablets or phones) - it offers opening the device's camera as at least one of the options (depending on from device, browser)

But I want this to happen on my Windows laptop; I've tried Firefox, IE and Safari - they all open a file dialog, not a laptop camera (built-in or attached).

+3


source to share





All Articles