This is an experiment to use the native VR support from mozilla and the HTML5 video player to watch videos in a virtual cinema.
Demo created by Gilberto Avalos:
Projects used:
- THREE.js - A JavaScript 3D Library which makes WebGL simpler..
- webvr-boilerplate - A starting point for web-based VR experiences that work in both Cardboard and Oculus.
Download/clone repo, then run a simple http server:
~/vr-cinema$ php -S localhost:8080
# Then open http://localhost:8080/
# or:
~/vr-cinema$ python -m SimpleHTTPServer
# Then open http://localhost:8000/
Move the tab/window to the oculus rift display, then go to fullscreen. Enjoy!
- Add in-game UI/controls