-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_vr.html
More file actions
67 lines (57 loc) · 1.52 KB
/
index_vr.html
File metadata and controls
67 lines (57 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Audio Corridor – VR</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html, body {
margin: 0;
padding: 0;
overflow: hidden;
background: #000;
font-family: Arial, sans-serif;
color: #fff;
}
.ui-btn {
position: fixed;
left: 1rem;
padding: 0.6rem 1rem;
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.3);
color: #fff;
z-index: 20;
cursor: pointer;
backdrop-filter: blur(4px);
}
#audio-file { top: 1rem; }
#play-btn { top: 4.2rem; }
#watch-btn { top: 7.4rem; }
#sbs-btn { top: 10.6rem; }
#status {
position: fixed;
left: 1rem;
bottom: 1rem;
z-index: 20;
color: #0ff;
font-size: 0.9rem;
text-shadow: 0 0 6px #0ff;
}
/* Hidden overlay element your JS expects */
#sbs-overlay {
display: none;
}
</style>
</head>
<body>
<!-- UI ELEMENTS EXPECTED BY main_vr.js -->
<input id="audio-file" class="ui-btn" type="file" accept="audio/*">
<button id="play-btn" class="ui-btn">Play</button>
<button id="watch-btn" class="ui-btn">Watch Mode</button>
<button id="sbs-btn" class="ui-btn">SBS Mode</button>
<div id="sbs-overlay"></div>
<div id="status"></div>
<!-- MAIN VR SCRIPT -->
<script type="module" src="./main_vr.js"></script>
</body>
</html>