Access Webcam for php
I will ask about webcam access
why when I upload the project to the server, the webcam doesn't work properly
Webcam.js Error message appears: No supported webcam interface found.
2 Replies
This error is most commonly due to Internet browser default settings. If you're not accessing your webcam via HTTPS, there are browsers that will not permit you to view the webcam stream. Chrome is one of these browsers. You can also check in the address bar of your browser to see if there is a "blocked camera" icon; clicking on this icon should give you an option to permit access. This GitHub thread has more information about these settings. You might also find this link to be helpful. If you want to check to be sure your code is accurate, you can do so by following this guide.