mirror of
https://github.com/phit/video2webxr.git
synced 2026-10-18 07:01:10 +02:00
feat: default other sites to the flat screen
Most videos on the web are flat, so that's the better first guess. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
724125b138
commit
b0f2a3353e
2 files changed
+5
-5
No files matched your search
@@ -37,7 +37,7 @@ On the Steam Frame itself, skip these two steps: just open Chrome Canary.
|
||||
**On other sites**
|
||||
1. Start playing the video
|
||||
2. Click the video2webxr button in the browser toolbar (pin it from the extensions menu)
|
||||
3. Pick the projection in the popup (defaults to 180° 3D side by side; your choice is remembered) and click "Enter VR"
|
||||
3. Pick the projection in the popup (defaults to Flat screen; your choice is remembered) and click "Enter VR"
|
||||
4. Click the video in the page to enter VR. Browsers only start VR from a click in the page itself, so this step can't be skipped
|
||||
5. Open the popup again to change the projection while in VR, or click "Stop"
|
||||
|
||||
@@ -64,8 +64,8 @@ The page itself gets no extra controls, so video lightboxes and overlays keep wo
|
||||
| 360° equirectangular | 360° videos served as a single equirectangular image (2:1) |
|
||||
| 360° 3D top/bottom, side by side | 3D equirectangular 360° videos |
|
||||
| 180° | VR180 videos on YouTube, and other mono 180° videos |
|
||||
| 180° 3D side by side (other sites' default) | 3D 180° videos with both eyes side by side, the most common VR video format |
|
||||
| Flat screen | normal videos, shown on a virtual screen in front of you |
|
||||
| 180° 3D side by side | 3D 180° videos with both eyes side by side, the most common VR video format |
|
||||
| Flat screen (other sites' default) | normal videos, shown on a virtual screen in front of you |
|
||||
|
||||
You can switch the projection while in VR. If the image looks jumbled into squares, try a 360° EAC option; if it looks stretched or doubled, try the others.
|
||||
|
||||
|
||||
+2
-2
@@ -11,5 +11,5 @@ export const PROJECTION_LABELS = [
|
||||
['FLAT', 'Flat screen'],
|
||||
];
|
||||
|
||||
// Most VR videos outside YouTube are 180° side by side
|
||||
export const DEFAULT_PROJECTION = '180_LR';
|
||||
// Most videos on the web are plain flat videos
|
||||
export const DEFAULT_PROJECTION = 'FLAT';
|
||||
Reference in new issue
Block a user