EDIT SCRIPT FOR SCAN QRCODE JS

Job ID: 32139384

Budget: €8 – €30 EUR

Hi, I have this script that is used to scan barcodes. I need to modify it so that the "Request Camera Permissions" is requested immediately when the page is opened and immediately after accepting the rear camera must start

https://github.com/mebjas/html5-qrcode/blob/master/README.md
this is the documentation link
Related categories: JavaScript Python HTML5 jQuery / Prototype Flask