sagnik Posted February 23, 2018 Author Share Posted February 23, 2018 Sir, today I've checked again, but I have not got the error you are saying. Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 23, 2018 Share 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. Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 23, 2018 Author Share Posted February 23, 2018 Now I've fixed the redirects. Now you can test the page. Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 23, 2018 Share 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.) Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 23, 2018 Author Share Posted February 23, 2018 I've no idea that how to fix it. Can you do it for me? Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 23, 2018 Share 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. Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 24, 2018 Author Share 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? Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 24, 2018 Share Posted February 24, 2018 Why are you even trying to do this? There's probably thousands of qr code apps for your phone. Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 24, 2018 Author Share 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. Quote Link to comment Share on other sites More sharing options...
mrj Posted February 25, 2018 Share 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. Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 25, 2018 Author Share Posted February 25, 2018 Yeah, it's not working on mobile devices. That's why I'm asking for help. Quote Link to comment Share on other sites More sharing options...
mrj Posted February 25, 2018 Share Posted February 25, 2018 Maybe the module/plugin/extension (whatever) doesn't have support for mobile devices. Read the documention if available for this. Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 25, 2018 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 25, 2018 Share Posted February 25, 2018 What does the author of the code say? Quote Link to comment Share on other sites More sharing options...
sagnik Posted February 25, 2018 Author Share Posted February 25, 2018 About what? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.