sagnik Posted February 23, 2018 Author Posted February 23, 2018 Sir, today I've checked again, but I have not got the error you are saying.
Krydos Posted February 23, 2018 Posted February 23, 2018 Yeah, the error I get now is that the page redirected too many times. You might have an infinite loop in your .htaccess.
sagnik Posted February 23, 2018 Author Posted February 23, 2018 Now I've fixed the redirects. Now you can test the page.
Krydos Posted February 23, 2018 Posted February 23, 2018 The error is being produced by this code: cameraError: function(error) { //callback funtion to camera error console.log(error); } According to the comment it sounds like the device that it can't find is the camera. (Also someone managed to spell "function" right and wrong on a single line.)
sagnik Posted February 23, 2018 Author Posted February 23, 2018 I've no idea that how to fix it. Can you do it for me?
Krydos Posted February 23, 2018 Posted February 23, 2018 The error is likely different on different devices. I'm using a desktop computer without any type of camera so that error makes sense to me. Running it on a phone where a camera is available might have a different error message. Then maybe some phones work and others don't. It's hard to say for sure.
sagnik Posted February 24, 2018 Author Posted February 24, 2018 Yeah, I think so. Then how can I implement a QRCode Scanner? Is there any way to create a custom QRCode Scanner which will work like "WebCodeCam" and must work with mobile devices?
Krydos Posted February 24, 2018 Posted February 24, 2018 Why are you even trying to do this? There's probably thousands of qr code apps for your phone.
sagnik Posted February 24, 2018 Author Posted February 24, 2018 I don't want to implement this on my website. Because I've not developed an app for my website yet.
mrj Posted February 25, 2018 Posted February 25, 2018 I am using an android phone (obviously with camera) but I didn't get any error from your test page. Instead of that I got a bank page.
sagnik Posted February 25, 2018 Author Posted February 25, 2018 Yeah, it's not working on mobile devices. That's why I'm asking for help.
mrj Posted February 25, 2018 Posted February 25, 2018 Maybe the module/plugin/extension (whatever) doesn't have support for mobile devices. Read the documention if available for this.
sagnik Posted February 25, 2018 Author Posted February 25, 2018 The plugin supports every devices. You can check it here: https://atandrastoth.co.uk/main/pages/plugins/webcodecamjs/And here is the link to my implementation: https://m.whatsnew.cf/test.php
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now