Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Media Playback

Philip Lamb edited this page Aug 8, 2019 · 3 revisions

Automatically setting VR Projection Mode

If mozVideoProjection=<mode>_auto appears in the query-string of a webpage’s URL, Firefox Reality automatically uses the respective Projection Mode for the Fullscreened element (i.e., document.fullscreenElement) when Fullscreen mode is entered (i.e., when .requestFullscreen() is called).

Without the _auto at the end of the value (e.g., ?mozVideoProjection=360), the correct Projection Mode is selected, but it requires an additional step by the user of pressing the Projection Mode button (i.e., the VR-goggles icon).

Name mozVideoProjection selected after requesting Fullscreen mozVideoProjection selected and projected when requesting Fullscreen
2D (default) (default)
360 360 360_auto
360 Stereo 360s 360s_auto
180 180 180_auto
Stereo 180 Left to Right 180lr 180lr_auto
Stereo 180 Top to Bottom 180tb 180tb_auto
3D Side by Side 3d 3d_auto
Clone this wiki locally