Qr Content Does Not Work
See original GitHub issueDescribe the bug Qr content cant work
Screenshots https://imgur.com/awmgfaG
Desktop (please complete the following information):
- OS: [Windows]
- Browser [Chrome]
- Version [102.0.5005.115 (Official Build)]
Additional context i use
<html>
<head>
<title>asdas-Qrcode Demo</title>
<body>
<div id="qr-reader" style="width:500px"></div>
<div id="qr-reader-results"></div>
</body>
<script src="/html5-qrcode.min.js"></script>
<script>
function docReady(fn) {
// see if DOM is already available
if (document.readyState === "complete"
|| document.readyState === "interactive") {
// call on next available tick
setTimeout(fn, 1);
} else {
document.addEventListener("DOMContentLoaded", fn);
}
}
docReady(function () {
var resultContainer = document.getElementById('qr-reader-results');
var lastResult, countResults = 0;
function onScanSuccess(decodedText, decodedResult) {
if (decodedText !== lastResult) {
++countResults;
lastResult = decodedText;
// Handle on success condition with the decoded message.
console.log(`Scan result ${decodedText}`, decodedResult);
}
}
var html5QrcodeScanner = new Html5QrcodeScanner(
"qr-reader", { fps: 10, qrbox: 250 });
html5QrcodeScanner.render(onScanSuccess);
});
</script>
</head>
</html>
this code but i cant see anything. but; if i use this code: i can see camera (qr reader) section. i thing it is working because when i show the qr code, a border turns green but Doesn’t write qr content anywhere (the content of the picture, does not working on me) https://imgur.com/4FcrOGp
=
I can only see this right now. but when I read the qr code, I can’t see the content of the qr code like https://imgur.com/4FcrOGp
Issue Analytics
- State:
- Created a year ago
- Comments:11
Top Results From Across the Web
9 reasons Why Your QR Code is Not Working - Beaconstac blog
There are mainly 6 reasons why a QR Code does not work: ... Too much content can cause multiple problems with QR Codes...
Read more >12 Reasons why your QR code is not working
There are couple of reasons why a QR code does not function or scan properly. These codes are designed to be scanned by...
Read more >6 reasons why your QR code is not working - QRCode Monkey
1. Do not invert QR Code Colors · 2. Give your QR Code colors enough contrast · 3. Don't create blurry QR Codes...
Read more >Unable to Scan QR Code? Here's How to Fix a QR Code.
If a QR code won't scan or doesn't work, we got you. Here's a rundown of common QR code issues that leave folks...
Read more >6 Best Ways to Fix QR Code Scanner Not Working on Android
Let's start by cleaning the camera lens if your Android phone is unable to scan QR codes properly. The camera lens of your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
why the heck the qrcode you are scanning is changing in real time?
so the next qrcode doesn’t show any result right? if yes, so maybe it throw an error.