We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser: Firefox 81.0.1
Relate to #241 js : https://rawgit.com/schmich/instascan-builds/master/instascan.min.js
my source code :
//preview box <div class="box"> <div class="box-body "> <video id="preview"></video> </div> </div> // init <script src="{{ asset('js/instascan.min.js') }}"></script> <script type="text/javascript"> let scanner = new Instascan.Scanner({ video: document.getElementById('preview') }); scanner.addListener('scan', function (content) { console.log(content); }); scanner.addListener('active', function (content) { console.log('active'); }); scanner.addListener('inactive', function (content) { console.log('inactive'); }); Instascan.Camera.getCameras().then(function (cameras) { if (cameras.length > 0) { scanner.start(cameras[0]); } else { console.error('No cameras found.'); } }).catch(function (e) { console.error(e); }); </script>
No errors found in console.log but the camera display not showing .
Do we need to adding the camera display by ourself?
The text was updated successfully, but these errors were encountered:
Same error is having here. Camera is active but camera is not displaying on video. Do you have any answer??
Sorry, something went wrong.
No branches or pull requests
Browser: Firefox 81.0.1
Relate to #241
js : https://rawgit.com/schmich/instascan-builds/master/instascan.min.js
my source code :
No errors found in console.log but the camera display not showing .
Do we need to adding the camera display by ourself?
The text was updated successfully, but these errors were encountered: