I believe the problem is in [this line](https://github.com/auduno/headtrackr/blob/dev/headtrackr.js#L177), should use `video.srcObject = stream;` instead.
I believe the problem is in this line, should use
video.srcObject = stream;instead.