-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
32 lines (29 loc) · 1.19 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
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 video comparison</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="player" id="video-compare-container">
<p id="right-video-label"></p>
<video id="right-video" poster="assets/videos/vasa/h264.png" muted>
<source src=assets/videos/vasa/h264.mp4>
</video>
<div id="video-clipper">
<p id="left-video-label"></p>
<video id="left-video" poster="assets/videos/vasa/h265.png" muted>
<source src=assets/videos/vasa/h265.mp4>
</video>
</div>
<div class="overlay" id="left-video-overlay" hidden></div>
<div class="overlay" id="right-video-overlay" hidden></div>
<div class="controls" id="controls">
<input class="control-button" id="rewind-button" type="image" src="assets/icons/rewind.svg" onclick="seekFrames(-1)"/>
<input class="control-button" id="play-pause-button" type="image" src="assets/icons/pause.svg" onclick="togglePlayPause()"/>
<input class="control-button" id="ff-button" type="image" src="assets/icons/fast-forward.svg" onclick="seekFrames(1)"/>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>