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

targets demo does not work in modern browsers (chrome / brave / opera) #54

Open
duckfev3r opened this issue Jul 23, 2019 · 2 comments · May be fixed by #55
Open

targets demo does not work in modern browsers (chrome / brave / opera) #54

duckfev3r opened this issue Jul 23, 2019 · 2 comments · May be fixed by #55

Comments

@duckfev3r
Copy link

Hi, I'm trying to get the awesome targets demo to run - it's displaying the webGL components fine, but not responding to movement in front of the camera. Would it be possible to get a copy of the sourcecode for the targets demo ?

Thanks !

@R-Aravind R-Aravind linked a pull request Jan 25, 2020 that will close this issue
@rbuccigrossi
Copy link

Since I discovered this project today, and discovered this bug, I placed a working version at https://headtrackr.tcg.com/targets.html with the source at https://headtrackr.tcg.com/headtrackr.tar

Mine works for Chrome and Edge but not Firefox (I thought I incorporated the main change in R-Aravind's pull request, but I'm missing something, so I'll have to try again later).

@rbuccigrossi
Copy link

It looks like we need another pull request! Safari on iOS uses the modern navigator.mediaDevices.getUserMedia interface that uses promises. Once I updated the headtrackr "init" function to use the newer interface it worked on the latest Chrome, Edge, Firefox and iOS Safari. I updated my demo at https://headtrackr.tcg.com/

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

Successfully merging a pull request may close this issue.

2 participants