Hello, I am trying to add a book barcode scanner to my website using QuaggaJS but every trial has failed.
I created an input box where the decoded barcode is inserted for further processing as well as a scan button which when clicked triggers a lightbox where the livestream from the camera is displayed to capture the barcode.
The error I am having now is that when the lightbox pops-up upon click, it is just blank without showing the camera’s feed to capture the barcode. Please I really need help on this, thank you in advance.
1 Like
Hi there
Without any provided code it’s difficult to say what the problem is exactly.
I have successfully implemented a Barcode-Scanner, but I’m using this NPM package for that:
.
.
It’s totally open-source and very easy to install. The main part of the code has to be in a custom element, not a HTML-Embed Widget, only then you’ll get access to the users camera.
1 Like
Thank you so much for this reply, I really appreciate it. Can you put me through the process please?
I’ve been using QuaggaJS all along and every attempt has failed.
What part of the code will be in custom element, what part will be in html?