1
0
Files
VR-Web-Player/test-pages/index.html
Aiden 731ee4e647
All checks were successful
Test / test (push) Successful in 9m31s
Leaner test side
2026-06-11 14:29:21 +10:00

61 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>VR Web Player Test Pages</title>
<link rel="stylesheet" href="./demo.css">
</head>
<body>
<main class="demo-page">
<div class="demo-shell">
<header class="demo-topbar">
<div>
<h1 class="demo-brand">VR Web Player Tests</h1>
<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"
data-vr-web-launcher
data-media-type="image"
data-projection="plane"
data-src="../media/169_3d_test.png"
data-title="SBS 3D Image"
data-crossorigin="anonymous">
<img src="../media/169_3d_test.png" alt="SBS 3D Image">
<span>SBS 3D Image</span>
</button>
<button
type="button"
class="demo-gallery-tile"
data-vr-web-launcher
data-media-type="image"
data-projection="vr180"
data-src="../media/VR180_SBS_Test.png"
data-title="SBS VR180 Image"
data-crossorigin="anonymous">
<img src="../media/VR180_SBS_Test.png" alt="SBS VR180 Image">
<span>SBS VR180 Image</span>
</button>
</div>
<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>
<script type="module" src="../vr180player/vr180-player.js"></script>
</body>
</html>