html5 icon indicating copy to clipboard operation
html5 copied to clipboard

Demo needs https, related to navigator.getUserMedia()

Open ajmas opened this issue 9 years ago • 0 comments

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

ajmas avatar Jan 28 '16 16:01 ajmas