Pointerlock for MIT Webviewer

I would have a look here to see how to use pointerlock in your html:

If you have this, and it is just not working on a webviewer, you could try adding:

or use