-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (51 loc) · 1.96 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
52
53
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- <script src="https://d3js.org/d3.v4.min.js"></script> -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!--<link rel="stylesheet" type="text/css" href="css/image.css">
<link rel="stylesheet" type="text/css" href="css/textBox.css">-->
<link href="https://fonts.googleapis.com/css?family=Quantico" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="javascript/button.js"></script>
</head>
<body>
<script>
window.onload = function() {
$("#intro").css("display", "inline")
resize_video("intro")
}
</script>
<div class="flex-container">
<div id="intro">
<video id="intro_video" class="video" autoplay="autoplay" muted>
<source src="videos/intro.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div id="credits" class="credit_text">
<span>
<p>Une nouvelle de <a href="https://github.com/HugoSalt">Hugo</a> | <a href="https://github.com/Karexar" >Mike</a> | <a href="https://github.com/RomainGehrig">Romain</a> | <a href="https://github.com/Akynna">Tim</a></p>
</span>
</div>
<div class="start_text">
<span
onclick="location.href='scenes.html'">
<p>Commencer</p>
</span>
</div>
</div>
<script>
let vid = document.getElementById("intro_video");
vid.onplay = function() {
setTimeout(function() {
$("#credits").fadeIn(3000, function(){});
}, 15000);
setTimeout(function() {
$("#credits").fadeOut(3000, function(){});
}, 15000 + 30000);
}
</script>
</body>
</html>