Skip to content
New issue

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

Scanner Doesnt Work On Chrome #43

Closed
Shwabster opened this issue Nov 6, 2020 · 5 comments
Closed

Scanner Doesnt Work On Chrome #43

Shwabster opened this issue Nov 6, 2020 · 5 comments

Comments

@Shwabster
Copy link

Shwabster commented Nov 6, 2020

I have implemented the library successfully and it is all working as expected on Firefox (Windows - Using Localhost HTTP and deployed HTTPS) and Safari (iOS - Deployed HTTPS).

However it does not work at all on Chrome, either on Windows or Android and neither via Localhost HTTP or deployed HTTPS.

The demo page doesn't work either in Chrome (HTTPS).

https://jbialobr.github.io/JsQRScanner/

image

@Snicser
Copy link

Snicser commented Jan 26, 2021

On my Chrome browser it works, maybe reload the page or enable JS?

@Shwabster
Copy link
Author

JavaScript is enabled and reloading does not work.

Are you able to post a screenshot of it working? What version of Chrome are you using?

I can still reproduce, the demo project does not work on Chrome.

@genesisyau
Copy link

JavaScript is enabled and reloading does not work.

Are you able to post a screenshot of it working? What version of Chrome are you using?

I can still reproduce, the demo project does not work on Chrome.

I think it might have something to do with the device's camera. As I mentioned on issue #44 , it is working on Chrome. My version is 87.0.4280.141 on both desktop and mobile.

@genesisyau
Copy link

Also, make sure that nothing else is using the camera. For example, on chrome, only one tab should be able to use the camera. If I open two tabs that need the camera, it won't run in one of them.

@Shwabster
Copy link
Author

Updated Chrome to version 88.0.4324.104 and the demo is now working as expected along with my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants