<input type="file" accept="image/*"> should offer to take a photo with the camera (Desktop) |
|||
Issue descriptionChrome Version: All OS: All Desktop (Windows, Mac, Linux, Chrome OS) What steps will reproduce the problem? (1) Create an <input type="file" accept="image/*">. (2) Click it. Test code: https://codepen.io/anon/pen/WKJBVV What is the expected result? Offers to take a photo with the camera, or choose an image file. What happens instead? Just shows the normal file open dialog. Note: This works on Android (and apparently iOS, according to this post [1]). There's no reason it shouldn't work on desktop, if the user has a camera connected. https://developers.google.com/web/fundamentals/media/capturing-images/
,
Aug 3
It would certainly be useful if we used the capture attribute on desktop if we didn't want to go all the way on just using image/*
,
Aug 5
Issue 156382 is relevant. Makes this "Available", however DOM/HTML team has no bandwidth to handle this for a while.
,
Aug 6
Oh OK, I didn't realise this was actually specced (just in a different spec to HTML): https://www.w3.org/TR/html-media-capture/ In that case, marking as duplicate. |
|||
►
Sign in to add a comment |
|||
Comment 1 by mgiuca@chromium.org
, Aug 3