Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work in firefox #52

Open
makc opened this issue Feb 20, 2018 · 1 comment
Open

does not work in firefox #52

makc opened this issue Feb 20, 2018 · 1 comment

Comments

@makc
Copy link

makc commented Feb 20, 2018

I believe the problem is in this line, should use video.srcObject = stream; instead.

motionharvest added a commit to motionharvest/headtrackr that referenced this issue Mar 13, 2018
Maybe this one fixes it. Fingers Crossed.
@rexlogic
Copy link

rexlogic commented Dec 2, 2018

Hi,

change:
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
with
navigator.mediaDevices.getUserMedia({ video: true, audio: false }).then(stream => video.srcObject = stream).catch(e => log(e.name + ": "+ e.message)); var log = msg => div.innerHTML += msg + "<br>";

in

headtrackr.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants