Video VR Extension
Watch HTML5 videos on Youtube with the Oculus Rift (requires vr.js plugin for Rift support).
See Demo Video
- Install vr.js plugin
- Install the extension:
- Let youtube know your HTML5 preference: https://www.youtube.com/html5
Generally, try to maintain existing coding style and add unit tests with new features.
This project contains source for both the Chrome and Firefox extensions. At some point this may change but for the time being it works.
git clone https://github.com/slawrence/video-vr-extension cd video-vr-extension npm install -g gulp npm install
For Firefox, you must install the Add-on SDK into your home directory (i.e. `~/addon-sdk-1.16)
Additionally, install the autoinstaller Firefox extension for easier running and debugging.
At this point you have everything needed to build and package the extensions. To
package both Chrome and Firefox run
make. Packaged products are located in
After building the project, you'll want to load the extension as an "unpacked" extension:
- Open Chrome to
- Check 'Developer mode' and click 'Load unpacked extension'
- Select the
After making changes, run
make dev-chrome then refresh the extension to see
Provided you have the Addon SDK and autoinstaller extension (see dependencies),
make dev-firefox to see changes.
make run-firefox can also be used to execute
cfx run, but doesn't do a
Gulp.js is used for tasks like linting and testing. See the
gulpfile.js for list of tasks.
Packaging the app with
make will lint, test, and package the Chrome and
Firefox extensions. To package with unminified code (when debugging) pass in
an extra argument:
This project is a conglomeration of a few amazing open source libraries. Without these libraries this extension would not have been so easily assembled.
- Better logo
- Not just Youtube
- Support for oculus bridge, webrift, etc.
- More tests!