ProjectionOptions
Since version 4.0.0
Common option for Projections
interface ProjectionOptions
Properties
Source URL to panorama image/video.
Properties for the video element.
Setting false
will treat panorama source as an image, true
will use default properties.
Properties
src
>=4.0.0
srcstring | HTMLElement | (string | HTMLElement)[]
Source URL to panorama image/video.
video
>=4.0.0
videoboolean | Partial<VideoConfig>
Properties for the video element.
Setting false
will treat panorama source as an image, true
will use default properties.
Example
Default properties
autoplay: true
muted: true
loop: false
volume: 1