How to access the camera from the mobile phone via the Web Site?

2

Can you access the mobile camera on a web system ( Não é app ) using javascript?

  • What is the solution to this?
asked by anonymous 13.06.2018 / 16:54

2 answers

2

Here in this answer How to access a mobile camera from a web app?

On the iPhone iOS6 and Android ICS onwards, HTML5 has the following tag, which allows you to take photos of your device:

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

capture can have values such as camera, camcorder, and audio.

    
13.06.2018 / 17:06
1

html5 allows this using the

capture="camera"
    
13.06.2018 / 18:13