I'm trying to activate the user camera using HTML
. All of the tutorials I've come across require GetUserMedia()
, but it's deprecated and disabled on modern versions of Google Chrome. Is there a way to use the webcam on an HTML
page without GetUserMedia()
?
Yes you are right. The navigator.getUserMedia()
has been deprecated. You have to use navigator.mediaDevices.getUserMedia()
instead for this :)
Here's the MDN link:
https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
Hope that works for you ^_^