gest.js
gest.js copied to clipboard
Not working in Firefox
Hello, With recently Deprecatiion of getUserMedia from chrome, i tried to test it with firefox and it is not working.
Same here!
I had many problems with all browsers until I realized I had to use HTTPS. If that isn't the problem, pasting some error messages would be good.
This could be the because of navigator.getUserMedia() being depreciated. I changed the initialization line from
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; //|| navigator.msGetUserMedia;
to
navigator.getUserMedia = mediaDevices.getUserMedia || navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia; //|| navigator.msGetUserMedia;
and it's working in Chrome v49