MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/JavaScriptTips/comments/11fus1z/easy_qr_code_scanning_with_html5qrcode_from/
r/JavaScriptTips • u/Low_Mammoth_9371 • Mar 02 '23
1 comment sorted by
1
Html5-QRCode introductory tutorial: https://youtu.be/19eo39lqpLM
Code from snippet:
// After importing Html5-QRCode... // Initalize new scanner in element 'reader': const scanner = new Html5QrcodeScanner('reader', { qrbox: { width: 250, height: 250, }, }); // Start scanner: scanner.render(success, error); function success(result) { console.error(result); } function error(err) { console.error(err); }
1
u/Low_Mammoth_9371 Mar 02 '23
Html5-QRCode introductory tutorial: https://youtu.be/19eo39lqpLM
Code from snippet: