-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
120 lines (119 loc) · 4.64 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="en">
<head>
<title>Spaceport Volumetric Web Player</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./styles/style.css" />
</head>
<body>
<div id="info">
<a href="https://antmedia.io/" target="_blank" rel="noopener noreferrer">Ant Media</a> - Spaceport Web Player (<a href="https://spaceport.tv/" target="_blank" rel="noopener noreferrer">about</a>)<br/>
<p id="message">Your browser does not support OffscreenCanvas. Check the browser support <a href="https://caniuse.com/#feat=offscreencanvas" target="_blank" rel="noopener noreferrer">here</a></p>
</div>
<div id="src" style="display: none;">
src: ../../sample_videos/demo1/container_</div>
<div id="bufferContainer">
<div id="buffer"></div>
</div>
<div class="canvasPlaceHolder">
<canvas id="offscreencanvas"></canvas>
</div>
<button id="playPauseButton"></button>
<main class="wrapper">
<div class="player">
<div class="player-overlay" data-fullscreen="false">
<div class="container">
<div class="information-container">
<h1 class="title">SPACEPORT</h1>
<p class="description">
Spaceport offers an opportunity to watch volumetric videos on web players without VR devices.
You can set your view with mouse/touch events and continue to watch the videos.
</p>
</div>
<div class="player-container">
<div class="video-progress">
<div class="video-progress-filled"></div>
</div>
<div class="player-controls">
<div class="player-buttons">
<button
aria-label="play"
class="button play"
title="play"
type="button"
></button>
<button
aria-label="pause"
class="button pause"
hidden
title="pause"
type="button"
></button>
<button
aria-label="backward"
class="button backward"
title="backward"
type="button"
></button>
<button
aria-label="forward"
class="button forward"
title="forward"
type="button"
></button>
<button
aria-label="volume"
class="button volume"
title="volume"
type="button"
></button>
<button
aria-label="silence"
class="button silence"
hidden
title="silence"
type="button"
></button>
<div class="volume-progress">
<div class="volume-progress-filled"></div>
</div>
<div class="time-container">
<p class="current-time">0:00</p>
<p class="time-separator">/</p>
<p class="duration-video">0:00</p>
</div>
</div>
<div class="expand-container">
<button
aria-label="expand"
class="button expand"
title="expand"
type="button"
></button>
<button
aria-label="reduce"
class="button reduce"
hidden
title="reduce"
type="button"
></button>
</div>
</div>
</div>
</div>
</div>
<div class="video">
<!-- <canvas id="offscreencanvas"></canvas> -->
</div>
</div>
<div id="progressBar"></div>
<script type="text/javascript" src="./js/main.js"></script>
<script type="text/javascript" src="./js/loading-bar.js"></script>
<script type="module" src="./js/index.js"></script>
<script type="module"> import { main } from './js/handler.js';
main();
</script>
</body>
</html>