diff --git a/README.md b/README.md index d7e13c7..62e0651 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ When the page loads, the script binds every `[data-vr-web-launcher]` on the page - Control icons are embedded from [Lucide](https://lucide.dev/) SVG definitions, so no PNG icon assets are required. ## Demo -Run `npm run build`, then open `test-pages/index.html` through a local web server. The test hub is a gallery with launchers for flat 3D image, VR180 3D image, image carousels, flat 3D video, VR180 3D video, and a local file picker for browser-selected image/video media. +Run `npm run build`, then open `test-pages/index.html` through a local web server. The test hub has three options: a local file picker for browser-selected image/video media, one bundled SBS flat 3D image, and one bundled SBS VR180 image. For local experimentation, run: diff --git a/test-pages/demo.css b/test-pages/demo.css index 52134de..f12a7c4 100644 --- a/test-pages/demo.css +++ b/test-pages/demo.css @@ -165,6 +165,7 @@ a { text-align: left; cursor: pointer; overflow: hidden; + text-decoration: none; } .demo-gallery-tile:hover { @@ -183,25 +184,15 @@ a { padding: 0 12px; } -.demo-focused-links { - display: flex; - flex-wrap: wrap; - gap: 10px; - margin-top: 22px; -} - -.demo-focused-links a { - display: inline-flex; - align-items: center; - min-height: 36px; - padding: 0 12px; - border: 1px solid #d5d5cf; - border-radius: 6px; - background: #fff; - color: #4f4f48; - text-decoration: none; - font-size: 0.9rem; - font-weight: 650; +.demo-gallery-placeholder { + display: grid; + place-items: center; + width: 100%; + aspect-ratio: 16 / 9; + background: #151515; + color: #fff; + font-size: 1.25rem; + font-weight: 800; } .demo-local-panel { diff --git a/test-pages/index.html b/test-pages/index.html index 6018799..4cb54ce 100644 --- a/test-pages/index.html +++ b/test-pages/index.html @@ -12,13 +12,18 @@

VR Web Player Tests

-

Click a thumbnail. XR-capable browsers launch immersive VR; other browsers open the fallback modal.

+

Pick local media, or launch one of the two bundled SBS image samples.

Checking immersive WebXR support...

- - -

Image tests use files in ../media/. Video tests expect ../media/sbs-video.mp4.

+

Bundled image tests use files in ../media/. The local media page uses browser-selected files from this device.

diff --git a/test-pages/test-3d-image-carousel.html b/test-pages/test-3d-image-carousel.html deleted file mode 100644 index 5d440be..0000000 --- a/test-pages/test-3d-image-carousel.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - 3D Image Carousel Test - - - - -
-
-
-
-

3D Image Carousel

-

Projection: plane. Media: multiple side-by-side images.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - - diff --git a/test-pages/test-3d-image.html b/test-pages/test-3d-image.html deleted file mode 100644 index 26987c4..0000000 --- a/test-pages/test-3d-image.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - 3D Image Test - - - - -
-
-
-
-

3D Image

-

Projection: plane. Media: side-by-side image.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - - diff --git a/test-pages/test-3d-video.html b/test-pages/test-3d-video.html deleted file mode 100644 index 06c9d77..0000000 --- a/test-pages/test-3d-video.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - 3D Video Test - - - - -
-
-
-
-

3D Video

-

Projection: plane. Media: side-by-side video.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - - diff --git a/test-pages/test-gallery-launchers.html b/test-pages/test-gallery-launchers.html deleted file mode 100644 index aaa780a..0000000 --- a/test-pages/test-gallery-launchers.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - Gallery Launcher Test - - - -
-
-
-
-

Gallery Launchers

-

Click a thumbnail. XR-capable browsers launch immersive VR; other browsers open the fallback modal.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - - diff --git a/test-pages/test-vr180-3d-image-carousel.html b/test-pages/test-vr180-3d-image-carousel.html deleted file mode 100644 index 8ae7f05..0000000 --- a/test-pages/test-vr180-3d-image-carousel.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - VR180 3D Image Carousel Test - - - - -
-
-
-
-

VR180 Image Carousel

-

Projection: VR180. Media: multiple side-by-side images.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - - diff --git a/test-pages/test-vr180-3d-image.html b/test-pages/test-vr180-3d-image.html deleted file mode 100644 index bb8d9b1..0000000 --- a/test-pages/test-vr180-3d-image.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - VR180 3D Image Test - - - - -
-
-
-
-

VR180 3D Image

-

Projection: VR180. Media: side-by-side image.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - - diff --git a/test-pages/test-vr180-3d-video.html b/test-pages/test-vr180-3d-video.html deleted file mode 100644 index 2eaac84..0000000 --- a/test-pages/test-vr180-3d-video.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - VR180 3D Video Test - - - - -
-
-
-
-

VR180 3D Video

-

Projection: VR180. Media: side-by-side video.

-
- Back -
- -

Checking immersive WebXR support...

- - -
-
- - - -