I google'd quite a while about this topic, without any satisfying result. Actually my basic question is: Is there any possible way to access a webcam with Javascript ?
Maybe with HTML5 ? <video>
element ?
What are options as developer to access the computers webcam anyway?
We can access the user device Webcam and microphone using an ECMAScript object navigator. mediaDevices. getUserMedia(constraints). So, the getUserMedia() function by default seek user permission to use your Webcam.
To open up your webcam or camera, select the Start button, then select All apps, and then select Camera in the list of apps. If you have multiple cameras, you can switch between them by selecting Change Camera at the top right once the Camera app is opened.
With navigator. getUserMedia() , we can finally tap into webcam and microphone input without a plugin. Camera access is now a call away, not an install away.
Please see this answer:
Access webcam without Flash
It is possible with beta browsers but if you want to developer something for IE users you need to stick with Flash.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With