Skip to content

Commit

Permalink
doc: update cubemap-video "source"
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed Sep 25, 2024
1 parent d5193ae commit 4752009
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/guide/adapters/cubemap-video.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ When using this adapter, the `panorama` option and the `setPanorama()` method ac

#### `source` (required)

- type: `string`
- type: `string | MediaStream | HTMLVideoElement`

Path of the video file. The video must not be larger than 4096 pixels or it won't be displayed on handled devices.

It can also be an existing `MediaStream`, for example to display the feed of an USB 360° camera, or a pre-existing `HTMLVideoElement` for more control over video playback.

#### `equiangular`

- type: `boolean`
Expand Down

0 comments on commit 4752009

Please sign in to comment.