Open odonckers opened 8 years ago
Well, javascript typically won't run if you just open it as file://; you'll need to run a local web host. But it should work after that.
Okay, I will try it.
I tried this on my website http://dontaskmeagain.com/pitch/ and it gave me this error: getUserMedia threw exception :TypeError: navigator.getUserMedia is not a function. (In 'navigator.getUserMedia(dictionary, callback, error)', 'navigator.getUserMedia' is undefined)
getUserMedia is restricted to secure domains. If you're not running on localhost, it will need to be https://.
Okay, I will see what I can do...
If you still get the error, make sure the navigator you're using is compatible. getUserMedia is not supported everywhere... http://caniuse.com/#feat=stream
Ah, good point. Safari doesn't support getUserMedia, on iOS or desktop.
As of September 2018 navigator.getUserMedia has been deprecated (though still supported pretty much) in favour of navigator.mediaDevices.getUserMedia. The getUserMedia
function in the code could be modified to incorporate this.
When I try the live input or anything else for that matter, it stays blank and will not do anything. Please help, this program would be so cool if it would work in places other than your demo website.