-
Notifications
You must be signed in to change notification settings - Fork 305
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
still not work on android and ios #46
Comments
I also have the problem that the code is working fine on desktop chrome 52 for example. Is there a solution to this problem? |
@sthag about that problem, I fixed it by adding the 'autoplay' attribute to the video element here: https://github.com/dwa012/html5-qrcode/blob/e9f06a7/src/html5-qrcode.js#L18 |
By the way, it might be useful to look at the source code of the upstream library's demo webpage: |
Thanks @danieleds for pointing out the autoplay issue. |
The autoplay element didn't help on Android 7 (Nexus 6P) .. video only refreshes when i scroll the page up/down a little. |
Curious too, https://webqr.com/ doesn't work for me in Chrome (windows 7) |
All camera demos I checked online don't seem to work on mobile. All the qr code demos instead don't work either on mobile nor on desktop with Chrome 53. |
I'm using this library for a mobile webapp but the camera freezes unless I constantly move the page around with my finger. How can I make sure that the camera feed is constantly being updated so I don't have to constantly move the page around? |
@Alexstraza You can add the autoplay attribute to the video element within the source code like danieleds mentioned before #46 (comment) This worked for me. |
@sthag Thanks! It worked! For people still struggling, just add
|
only works on MAC (even with the fix mentioned above) Tried on an iphone 9.3 (safari & firefox) and also on my laptop (windows 7) on firefox and chrome and both are not working (for laptop : nothing show on your example page or on my fiddle and for iphone, it show a play button but nothing happens when i click) |
@PierreTrp I don't think it will work on an iPhone period because it doesn't allow the browser to access the camera |
how can i fix it
The text was updated successfully, but these errors were encountered: