Installation
Usage
Adapter configuration
Automatically starts the video when the panorama is loaded.
Mutes the video by default.
The number of faces of the sphere geometry. See the equirectangular adapter for details.
Panorama options
Thepanorama option and the setPanorama() method accept an object with the following fields.
The video source. Can be:
- A URL string pointing to the video file. The video must not exceed 4096 pixels in either dimension.
- A
MediaStream— for example, the feed from a USB 360° camera. - An
HTMLVideoElement— when you need full control over video playback externally.
Cropping data for videos that do not cover the full sphere. Follows the same structure as the equirectangular adapter’s
panoData.