How to start again after calling .html5_qrcode_stop()
sthag opened this issue · 1 comments
I use $('#element').html5_qrcode_stop();
after successfully reading a qrcode.
After some actions I want to start over again and enable tracking.
If I call $('#element').html5_qrcode(function(data) { ... })
again, everything gets duplicated. I get another video element and after a short time everything crashes.
How can I just start the tracking process again after it was stopped? Something like $('#element').html5_qrcode_start();
would be great but I can not find within the source.
I managed to get what I wanted by just removing the element on which .html5_qrcode()
was called together with the canvas
element which is created.
I think it would be great to have something like .html5_qrcode_start()
to do such things and maybe other things necessary.