angular-qr-scanner
angular-qr-scanner copied to clipboard
nothing happing
i used your code in mi laravel app and when i use the demo code in my view nothing happen can you pleas give me a solution pleasssss
I have the same problem. When i run the demo example code, the camera activates, but after nothing happens. Did you find any solution?
am also confusing this how to open camera and scan qr code.. please explain, there is no clear docs for this.
Guys, the reason is the security. You must be running application on localhost with no SSL installed and browser do not allow Camera (media) access for the hosts without SSL cert.
So as far as I know there are 2 possible solutions,
- Disable SSL check for Media access on localhost
- Install self signed cert. on localhost (I tried and this worked for me)
Let me know if you find this comment helpful.