html5
html5 copied to clipboard
Demo needs https, related to navigator.getUserMedia()
Just tried running the demo, with both Chrome and Safari on the Mac, but it fails.
Chrome gives me the following error:
"getUserMedia() no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."
Safari gives me the following error:
"webkitGetUserMedia threw exception :TypeError: navigator.getUserMedia is not a function. (In 'navigator.getUserMedia(dictionary, callback, onError)', 'navigator.getUserMedia' is undefined)"
You could host this on gh-pages, which provides you https as part of the deal