VRView Plugin

Back to Main

This plugin allows the interaction of Google's VRView to watch 360 videos.

NOTE: Google VRView only supports MP4, M(PEG)-DASH and HLS streaming.

Video Player

API

Parameter Type Default Description
vrPath string empty Path to load Google VRView library; by default, it will try to load https://googlevr.github.io/vrview/build/vrview.min.js 1
vrIsStereo boolean true Indicates whether the content at the image or video URL is stereo or not
vrIsAutopanOff boolean true When true, disables the autopan introduction on desktop
vrDebug boolean false When `true`, turns on debug features like rendering hotspots ad showing the FPS meter
vrDefaultYaw number 0 Numeric angle in degrees of the initial heading for the 360° content. By default, the camera points at the center of the underlying image
vrIsYawOnly boolean false When `true`, prevents roll and pitch. This is intended for stereo panoramas

1 Per https://github.com/googlevr/vrview, file location may change in the future, so keep that in mind. vrPath element can help with this task.