schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.97k stars 867 forks source link

Scanning Video Stream Unavailable... #237

Closed manasmanohar closed 4 years ago

manasmanohar commented 4 years ago

Instascan had been working perfect couple of months ago,

but now the video feed of the scanner doesn’t appear, nor the scanning happens. The webcam lightups when i scan.

(Camera permission is asked , and the webcam light up). Havn't made any changes to the program, need a quick solution.

using it to scan qr code and paste the result to search field. hosting my site on cpanel,this is the error i cam across

chartist.min.js:7 Uncaught TypeError: Cannot read property 'querySelectorAll' of null
    at Object.c.createSvg (chartist.min.js:7)
    at f.d [as createChart] (chartist.min.js:7)
    at f.h (chartist.min.js:7)
c.createSvg @ chartist.min.js:7
d @ chartist.min.js:7
h @ chartist.min.js:7
setTimeout (async)
i @ chartist.min.js:7
e @ chartist.min.js:7
f @ chartist.min.js:7
(anonymous) @ plugins.min.js:1
j @ jquery-1.11.2.min.js:2
fireWith @ jquery-1.11.2.min.js:2
ready @ jquery-1.11.2.min.js:2
J @ jquery-1.11.2.min.js:2

instascan.min.js:9 Uncaught (in promise) Error: Camera is not defined.
    at i.<anonymous> (instascan.min.js:9)
    at t (instascan.min.js:7)
    at Generator._invoke (instascan.min.js:7)
    at Generator.e.<computed> [as next] (instascan.min.js:7)
    at t (instascan.min.js:7)
    at r (instascan.min.js:7)
    at instascan.min.js:7
    at new Promise (<anonymous>)
    at n (instascan.min.js:7)
    at s.n [as _invoke] (instascan.min.js:7)
(anonymous) @ instascan.min.js:9
t @ instascan.min.js:7
(anonymous) @ instascan.min.js:7
e.<computed> @ instascan.min.js:7
t @ instascan.min.js:7
r @ instascan.min.js:7
(anonymous) @ instascan.min.js:7
n @ instascan.min.js:7
n @ instascan.min.js:7
e.<computed> @ instascan.min.js:7
E.async @ instascan.min.js:7
value @ instascan.min.js:9
(anonymous) @ instascan.min.js:9
t @ instascan.min.js:7
(anonymous) @ instascan.min.js:7
e.<computed> @ instascan.min.js:7
t @ instascan.min.js:7
r @ instascan.min.js:7
(anonymous) @ instascan.min.js:7
n @ instascan.min.js:7
n @ instascan.min.js:7
e.<computed> @ instascan.min.js:7
E.async @ instascan.min.js:7
onenteractive @ instascan.min.js:9
Promise.catch (async)
(anonymous) @ instascan.min.js:5
(anonymous) @ instascan.min.js:9
setTimeout (async)
(anonymous) @ instascan.min.js:9
_change @ instascan.min.js:8
i @ instascan.min.js:8