-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (38 loc) · 984 Bytes
/
Copy pathindex.html
File metadata and controls
46 lines (38 loc) · 984 Bytes
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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<noscript>
<meta http-equiv="refresh" content="0;url=video.mp4" />
</noscript>
</head>
<body>
<script>
function load() {
document.title = "Loading...";
window.location.href = "video.mp4";
}
window.addEventListener("DOMContentLoaded", load);
</script>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: black;
}
video {
max-width: 100vw;
max-height: 100vh;
width: auto;
height: auto;
}
</style>
<video autoplay muted loop>
<source src="video.mp4" type="video/mp4">
Sorry, your browser doesn't support embedded videos.
</video>
</body>
</html>