-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
43 lines (35 loc) · 1.27 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>HOAST360</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
</head>
<body>
<div id="overlay">
<div id="topfill"></div>
<div id="headers">
<h1><span id="h1">HOAST360</span></h1>
<p id="hoast-text">Higher Order Ambisonics Spatial Transform <br> 360 Degree Video Player</p>
</div>
</div>
<button onclick="init()">load</button>
<button onclick="stop()">stop</button>
<video-js id='hoast360-player' class='video-js vjs-fluid vjs-big-play-centered ' controls preload='auto' crossorigin="anonymous" data-setup='{}'>
<p class='vjs-no-js'>
To view this video please enable JavaScript, and consider upgrading to a web browser that
<a href='https://videojs.com/html5-video-support/' target='_blank'>supports HTML5 video</a>
</p>
</video-js>
<script src="./dist/hoast360.bundle.js"></script>
<script>
var hoast360 = new HOAST360();
function init() {
hoast360.initialize("media/hoast_demo_o4/", "irs/", 4);
}
function stop() {
hoast360.reset();
}
</script>
</body>
</html>