html5-qrcode
html5-qrcode copied to clipboard
black screen ios15.3.1 & ios15.6.1 when using html5QrCode.start
Hi, great script you have here by the way.
Having issues on ios15.3.1 & ios15.6.1 when using html5QrCode.start
In my app the camera is already started and being used, so the 'reader' is hidden
<div style="width: 100%; height: 100%; visibility: hidden;" id="reader"></div>
I start the scanner as stated in your doc
// If you want to prefer back camera // html5QrCode.start({ facingMode: "environment" }, config, qrCodeSuccessCallback);
This is when the screen goes black - scanner still works though - as above only seen it happen on ios (Safari), works as expected on Android and laptop (chrome).
Maybe I have to pass in the already started camera id?
Any help is much appreciated.
How can I prevent the video tag being created as I already have a video up and running?
@samyH I have the same issue. Did you have solutions for this?