Embed is served from /embed instead of /
Video has loop option and time. (rafa8626)
Video has scrubber/slider.
Users can connect views by getting a code and entering it into another device / browser / tab
WebRTC is used if available.
uses express, socket.io, simple-peer and forked versions of socket.io-p2p and socket.io-p2p-server
VR View allows you to embed 360 degree VR media into websites on desktop and mobile. For more information, please read the documentation available at http://developers.google.com/cardboard/vrview.
This project uses browserify to manage dependencies and build. Watchify is especially convenient to preserve the write-and-reload model of development. This package lives in the npm index.
Relevant commands:
npm start - starts nodejs server (on ubuntu this might need to edit node=nodejs)
npm run build - builds the iframe embed.
npm run build-api - builds the JS API.
npm run watch - auto-builds the iframe embed whenever any source changes.
npm run watch-api - auto-builds the JS API code whenever any source changes.