-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvideo.html
58 lines (46 loc) · 1.99 KB
/
video.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Game</title>
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="icon" href="imgs/spongbob.png">
<link rel="stylesheet" href="master.css">
</head>
<body class="jaro" style ="background-color: #FFC500">
<section class="curved">
</section>
<section class="video">
<div class="container">
<video muted plays-inline class="background-clip v1" controls>
<source src="./imgs/game.mp4" type="video/mp4">
</video>
<div class="content">
<p style="letter-spacing: 1.7px;"> Game story:
Spongebob Driving Test
It is a game to help Spongebob to get the driver's license and consists of 3 stages,
First one, which is the beginning of the game, a two-dimensional window to start or end.
Second one, which is a three-dimensional window,
in which you collect stars and not injure the fish and the diver.
The last, consists of two cases winning or losing.
If you win, you get the license and exit.
If you lose, you start again or exit.
More details:
When a fish is injured, the speed decreases, and when a star is token, the speed increases.
<a href="https://github.com/Samarallam97/Spongbob-Driving-Test"><i class="fa-brands fa-github fa-beat" style="color:white"></i></a>
</p>
</div>
</div>
</section>
<section class="curved2">
</section>
</body>
<script>
var video = document.getElementsByClassName('v1')[0];
window.onload = function() {
video.play();
};
</script>
</html>