From 4752009a76e4df0e68f8206b066fd62cd8a5dee6 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Wed, 25 Sep 2024 12:57:07 +0200 Subject: [PATCH] doc: update cubemap-video "source" --- docs/guide/adapters/cubemap-video.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/guide/adapters/cubemap-video.md b/docs/guide/adapters/cubemap-video.md index 7aa3ba157..6c07f2e8e 100644 --- a/docs/guide/adapters/cubemap-video.md +++ b/docs/guide/adapters/cubemap-video.md @@ -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`