VRView

May 12, 2017 · View on GitHub

Overview

This plugin allows the interaction of Google's VRView with MediaElement.js to see 360 videos.

Google VRView only supports MP4, M(PEG)-DASH and HLS videos.

API

ParameterTypeDefaultDescription
vrPathstringemptyPath to load Google VRView library; by default, it will try to load https://storage.googleapis.com/vrview/2.0/build/vrview.min.js
vrIsStereobooleantrueIndicates whether the content at the image or video URL is stereo or not
vrIsAutopanOffbooleantrueWhen true, disables the autopan introduction on desktop
vrDebugbooleanfalseWhen true, turns on debug features like rendering hotspots ad showing the FPS meter
vrDefaultYawnumber0Numeric angle in degrees of the initial heading for the 360° content. By default, the camera points at the center of the underlying image
vrIsYawOnlybooleanfalseWhen true, prevents roll and pitch. This is intended for stereo panoramas