Attached are the screenshots:
The first image shows the code that is to run so that the qr code can be scanned.
The second is the HTML video element that will run the qr code. I gave a “preview” I’d.
The last image is the screenshot of a scanned qr code. The code is working but I have a problems saving it to the database.