-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (43 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>paths</title>
<!--<base href="/" />-->
<link href="css/app.css" rel="stylesheet" />
<link href="paths.styles.css" rel="stylesheet" />
<base href="/rabbit/" />
</head>
<body>
<div id="app">
<video muted autoplay="autoplay" id="video">
<source src="videos/1.mp4" type="audio/mp4" />
</video>
<video muted id="video2" loop>
<source src="videos/2.mp4" type="audio/mp4" />
</video>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
<script src="_framework/blazor.webassembly.js"></script>
<script src="js/render.js" type="text/javascript"></script>
<script type="text/javascript">
function invoke(obj) {
document.getElementById(obj).click();
}
function getSize() {
return document.getElementById('content').getClientRects()[0];
}
document.getElementById('video').addEventListener('ended', function (e) {
var el = e.target;
el.style.display = 'none';
document.getElementById('video2').style.display = 'block';
document.getElementById('video2').play();
});
</script>
</body>
</html>