-
Notifications
You must be signed in to change notification settings - Fork 2
/
404.html
63 lines (61 loc) · 2.01 KB
/
404.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
<!DOCTYPE html>
<!--
404 page for Haroen.me
@author Haroen Viaene
-->
<html lang="en">
<head>
<title> 404 </title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="stylesheet" href="https://haroen.me/css/style.css"/>
<link rel="icon" type="image/png" href="https://haroen.me/favicon.png" />
<link rel="apple-touch-icon" href="https://haroen.me/apple-touch-icon.png" />
<link rel="icon" href="https://haroen.me/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="theme-color" content="#7f1734" />
<meta http-equiv='refresh' content='1' url='https://blog.haroen.me/' />
<script>
window.location.href = 'https://blog.haroen.me/'
</script>
</head>
<body>
<video autoplay loop muted class="bg" poster="https://haroen.me/404/poster.png" id="bg-vid">
<source src="https://haroen.me/404/domino.mp4" type="video/mp4" />
</video>
<section class="fullpage error">
<h1>404.</h1>
<p>I'm stumbling, what page do you want to go to?</p>
<p>try going back to the <a href="https://blog.haroen.me/">blog</a></p>
<a href="https://haroen.me" class="button">give up</a>
</section>
<div class="controls">
<a onclick="playPause()" class="play" id="play"></a>
<a onclick="mute()" class="mute" id="mute"></a>
</div>
<script>
'use strict';
var myVideo = document.getElementById("bg-vid");
function playPause() {
if (myVideo.paused) {
myVideo.play();
document.getElementById('play').innerHTML = '';
} else {
myVideo.pause();
document.getElementById('play').innerHTML = '';
}
}
function mute() {
if (myVideo.muted) {
myVideo.muted = false;
document.getElementById('mute').innerHTML = '';
} else {
myVideo.muted = true;
document.getElementById('mute').innerHTML = '';
}
}
</script>
</body>
</html>