dwa012 / html5-qrcode

A cross platform HTML5 QR code reader.
746 stars 306 forks source link

how to access web cam in local computer, when my script in server #35

Open sabardotnet opened 8 years ago

sabardotnet commented 8 years ago

i use html5-qrcode put in my server, how to access webcam in my local computer when my script in server. thanks.

SQULS commented 8 years ago

Hi I used If you check the console you are probably getting a message that states: getUserMedia() no longer works on insecure origins. This will circumvent this on a localhost but isn't recommended on anything out there in the wilderness.