Closed tiepvb closed 4 years ago
Since jsQR
is just a function, it will work wherever javascript can run (iframe or not). What it sounds like the issue you're describing is the webcam not working in the iframe. As I mention here I'm not a webcam expert by any stretch, and as such can't really help you debug non jsQR issues unfortunately. That said it seems like there are some caveats around accessing webcam data in iframes.
If you can get the video working in an iframe without jsQR, and jsQR somehow breaks, then please let me know, but if you're just having trouble getting the video to work I'd suggest asking on stackoverflow or somewhere that will be able to help you more with webcam specific code.
Closing this issue for now but if you have a bug with jsQR please comment/re-open!
add code in iframe with allow
on pc it's ok but ipad can't detect camera Pls help thanks!