Installation
Usage
This adapter does not support pixel positions. Use
yaw + pitch for all position references.Adapter configuration
Automatically starts the video when the panorama is loaded.
Mutes the video by default.
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.
Set to
true when using an equiangular cubemap (EAC) — the format used by YouTube. Set to false when using a standard cubemap layout.Video format
Each frame of the video must contain all six cube faces arranged in a 3-column × 2-row grid:| Left | Front | Right |
|---|---|---|
| Bottom | Back | Top |
