Access the camera

1

I was asked to solve a problem which I have not achieved and that is why I go to the community. In a client's portal, they need to take an image of both the desktop browser and the mobile browser. Use the tag

<input type="file" class="upload" accept="image/*" capture>

However, this does not work in desktop browsers. Only the instance of selecting an image from the computer opens.

I've tried it in Google Chrome, Internet Explorer, Mozilla and Safari without any results. But yes, on the phones. Both ios with safari and chrome and android with chrome works perfectly.

I did tests with some tutorials, with different labels but also without result.

    
asked by sioesi 13.03.2017 в 14:44
source

1 answer

0

When working with an application made in Ionic and with AngularJs, the client was presented with the idea that the best option, for what he needed, was to be a mobile application and not a web application. All this advice obviously under the context to which the client wanted to use.

Thanks to everyone

    
answered by 28.03.2017 / 16:45
source