-
Notifications
You must be signed in to change notification settings - Fork 582
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
Webcam example don't work because of https #141
Comments
Came here to report this (that webcome isn't working, didn't look in to reason). Chrome 64 here. |
I really don't see how this is related to the plugin. Normally browsers like chrome and firefox will never allow non-https sites to run webrtc after Chrome 47+ version. This is their secure origin policy. |
the point is the demo/example is broken, and needs to be updated. Obviously this is how Chrome works. The example just hasn't been updated since before chrome had that requirement. |
@kylebakerio if that's the case then instead of waiting for the fix, you can install the free let's encrypt certificate on your server, it'll only take 5 minutes and lasts for 90 days. |
Yes the issue is about demo that runs on http (see the title of the issue), it's not the code itself or your website that use the library. |
http://lab.ejci.net/favico.js/ "start webcam" in console: favico.min.js:7 Uncaught Error: Error setting webcam. Message: navigator.getUserMedia is not a function
at w (favico.min.js:7)
at Object.L [as webcam] (favico.min.js:7)
at HTMLButtonElement.<anonymous> (example.js:127)
at HTMLButtonElement.dispatch (jquery-1.10.1.min.js:5)
at HTMLButtonElement.v.handle (jquery-1.10.1.min.js:5) |
Also, most of the demos are broken in general. Several work, but many don't. |
In Google Chrome to use a webcam you now need to serve the website over https.
The text was updated successfully, but these errors were encountered: