Html access 5 flash camera

I want the camera flash (flashlight) on the phone to be automatic. like this app: https://www.youtube.com/watch?v=W_Lr3d9giCo

We can access the camera using this html 5 controller

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

But how can we access the camera’s flash memory (flashlight)? is there an html (5) or javascript plugin (jquery or other framework) for this? I want to use flash cameras with browsers (html 5, javascript, css)

+4
source share
1 answer

no. HTML5 does not have an attribute for accessing a flashlight.

Cordova/phonegap/Ionic HTML-,

https://www.npmjs.com/package/cordova-plugin-flashlight

.

+2

All Articles