html5-qrcode
html5-qrcode copied to clipboard
Camera doesn't work in chrome, Scanner doesn't work in other cases
Chrome on Linux, Chrome on Android cannot use camera. Firefox knows how to use camera, but none of tried codes wasn't recognized (URL/Text/SMS/Geo Location).
So I didn't find anythink which work..?!
Tried this codes (printed) http://qrcode.meetheed.com/qrcode_examples.php
Having the same issue.
Hi, this problem is due to Chrome itself. It has restricted the accessibility to the media features. Firstly, your site has to be running under https and secondly you have to configurate your web server content policy so it can load the media blob. Since I could meet this requirements, I didn't investigate further wheter this restrictions could be deactivated in some way. Hope this helps
also another workaround for chrome to work locally without https is using 127.0.0.1 instead of a dummy domain name for local access.