Untitled
1 month ago in HTML
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<script src="html5-qrcode.min.js"></script>
</head>
<body>
<div style="width: 500px;" id="reader"></div>
<script>
function onScanSuccess(qrCodeMessage) {
// handle on success condition with the decoded message
}

var html5QrcodeScanner = new Html5QrcodeScanner('reader', { fps: 10, qrbox: 250 })
html5QrcodeScanner.render(onScanSuccess)
</script>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19