-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrewind.html
47 lines (43 loc) · 1.55 KB
/
rewind.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="rewind.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rewind</title>
</head>
<body>
<div class="heading hidden">
<img src="assets/icon.png">
<h1 class="head">REWIND</h1>
</div>
<div class="video" style="display: flex; justify-content:center;">
<video id="vid" muted style="position: relative;z-index: -1;; left: auto;right: auto; width:100%; height: 100vh;"
autoplay>
<source src="assets/rewind.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div class="paradiv hidden">
<p class="para">Register for a three-day fun-filled Alumni Rewind
for the <b>Graduated Batches of 2020 and 2021 </b>to relive old memories of
college.</p>
</div>
<a href="register.html" class="hidden">
<button class="button button1">Enter</button>
</a>
</body>
<script>
document.getElementById('vid').addEventListener('ended', myHandler1, false);
function myHandler1(e) {
window.location.href = 'register.html';
// document.body.addEventListener('click', ()=>{window.location.href = 'rewindevents.html';},true);
}
document.getElementsByClassName('video').addEventListener('click', myHandler, true);
function myHandler(e) {
window.location.href = 'register.html';
// document.body.addEventListener('click', ()=>{window.location.href = 'rewindevents.html';},true);
}
</script>
</html>