1
0

Leaner test side
All checks were successful
Test / test (push) Successful in 9m31s

This commit is contained in:
Aiden
2026-06-11 14:29:21 +10:00
parent 69511e4549
commit 731ee4e647
10 changed files with 24 additions and 438 deletions

View File

@@ -12,13 +12,18 @@
<header class="demo-topbar">
<div>
<h1 class="demo-brand">VR Web Player Tests</h1>
<p class="demo-kicker">Click a thumbnail. XR-capable browsers launch immersive VR; other browsers open the fallback modal.</p>
<p class="demo-kicker">Pick local media, or launch one of the two bundled SBS image samples.</p>
</div>
</header>
<p class="demo-xr-status" data-demo-xr-status>Checking immersive WebXR support...</p>
<div class="demo-gallery-grid" aria-label="Launcher gallery">
<a class="demo-gallery-tile demo-gallery-link" href="./test-local-media.html">
<div class="demo-gallery-placeholder">Local</div>
<span>Local Image or Video</span>
</a>
<button
type="button"
class="demo-gallery-tile"
@@ -26,10 +31,10 @@
data-media-type="image"
data-projection="plane"
data-src="../media/169_3d_test.png"
data-title="3D Image Plane"
data-title="SBS 3D Image"
data-crossorigin="anonymous">
<img src="../media/169_3d_test.png" alt="3D Image Plane">
<span>3D Image</span>
<img src="../media/169_3d_test.png" alt="SBS 3D Image">
<span>SBS 3D Image</span>
</button>
<button
@@ -39,82 +44,14 @@
data-media-type="image"
data-projection="vr180"
data-src="../media/VR180_SBS_Test.png"
data-title="VR180 3D Image"
data-title="SBS VR180 Image"
data-crossorigin="anonymous">
<img src="../media/VR180_SBS_Test.png" alt="VR180 3D Image">
<span>VR180 Image</span>
</button>
<button
type="button"
class="demo-gallery-tile"
data-vr-web-launcher
data-carousel
data-media-type="image"
data-projection="plane"
data-src="../media/169_3d_test.png, ../media/169_3d_test.png?slide=2"
data-title="3D Image Plane"
data-crossorigin="anonymous">
<img src="../media/169_3d_test.png" alt="3D Image Plane carousel">
<span>3D Image Carousel</span>
</button>
<button
type="button"
class="demo-gallery-tile"
data-vr-web-launcher
data-carousel
data-media-type="image"
data-projection="vr180"
data-src="../media/VR180_SBS_Test.png, ../media/VR180_SBS_Test.png?slide=2"
data-title="VR180 3D Image"
data-crossorigin="anonymous">
<img src="../media/VR180_SBS_Test.png" alt="VR180 3D Image carousel">
<span>VR180 Image Carousel</span>
</button>
<button
type="button"
class="demo-gallery-tile"
data-vr-web-launcher
data-media-type="video"
data-projection="plane"
data-src="../media/sbs-video.mp4"
data-poster="../poster.jpg"
data-title="3D Video Plane"
data-type="video/mp4"
data-crossorigin="anonymous">
<img src="../poster.jpg" alt="3D Video Plane">
<span>3D Video</span>
</button>
<button
type="button"
class="demo-gallery-tile"
data-vr-web-launcher
data-media-type="video"
data-projection="vr180"
data-src="../media/VR180_SBS_TEST.mp4"
data-poster="../poster.jpg"
data-title="VR180 3D Video"
data-type="video/mp4"
data-crossorigin="anonymous">
<img src="../poster.jpg" alt="VR180 3D Video">
<span>VR180 Video</span>
<img src="../media/VR180_SBS_Test.png" alt="SBS VR180 Image">
<span>SBS VR180 Image</span>
</button>
</div>
<nav class="demo-focused-links" aria-label="Focused player test pages">
<a href="./test-3d-image.html">3D image</a>
<a href="./test-vr180-3d-image.html">VR180 image</a>
<a href="./test-3d-image-carousel.html">3D image carousel</a>
<a href="./test-vr180-3d-image-carousel.html">VR180 image carousel</a>
<a href="./test-3d-video.html">3D video</a>
<a href="./test-vr180-3d-video.html">VR180 video</a>
<a href="./test-local-media.html">Local media</a>
</nav>
<p class="demo-note">Image tests use files in <code>../media/</code>. Video tests expect <code>../media/sbs-video.mp4</code>.</p>
<p class="demo-note">Bundled image tests use files in <code>../media/</code>. The local media page uses browser-selected files from this device.</p>
</div>
</main>
<script type="module" src="./demo-xr-status.js"></script>