Open dmose opened 4 years ago
Really nice suggestion @dmose! Since navigator.getUserMedia is deprecated on Mozilla Firefox, I've used navigator.mediaDevices.getUserMedia after checking if the browser is Firefox with the navigator.userAgent. I've tested it on Firefox Version 75.0 (64-bit) and now seems to be working fine. I'd appreciate feedback from your side.
Thanks :) AP
Looks like a very cool demo, though I haven't yet been able to get it to work. :-)
navigator.getUserMedia seems to be deprecated in favor of navigator.mediaDevices.getUserMedia in the latest web standards stuff, as a result, this demo is failing in Firefox Nightly 77. See https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getUserMedia