-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (55 loc) · 2.4 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
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<title>VJSRV Just Shows Random Vines</title>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg">
<!-- SEO OPTIMIZATION -->
<meta name="title" content="VJSRV"/>
<meta name="keywords" content="vine memes"/>
<meta name="description" content="VJSRV Just Shows Random Vines"/>
<meta name="author" content="@ecmgs"/>
<meta name="distribution" content="global"/>
<!-- OPEN GRAPH -->
<meta property="og:type" content="website"/>
<meta property="og:title" content="VJSRV"/>
<meta property="og:description" content="VJSRV Just Shows Random Vines"/>
<meta property="og:image" content="./favicon.svg"/>
<!-- SCRIPTS AND CSS-->
<script src="https://www.youtube.com/player_api"></script>
<script src="vlist.js"></script>
<script src="index.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Fredoka+One&family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css" />
</head>
<body>
<div id="welcome-screen">
<!-- Welcome screen -->
<div id="welcome-container">
<h1>VJSRV Just Shows Random Vines</h1>
<h2>Press on "show me a meme" and see what happes!!</h2>
<div class="button-container">
<button id="meme-button" onclick="playMemeClick()">show me a vine!</button>
</div>
</div>
<!-- Show other meme screen -->
<div id="paVideoPromp" class="hidden">
<h1>Oh no! the video ended!</h1>
<h2>Do you want to see another meme??</h2>
<p id="vidInfo">You've wached <span id="watchedVideos"></span> of <span id="totalVideos"></span> videos</p>
<div class="button-container">
<button id="meme-button" onclick="playAnotherMemeClick()">Let's see another one!!</button>
<button id="replay-button" onclick="replayMemeClick()">I wanna see it again!!</button>
</div>
<div class="button-container">
<button id="automatic-replay-button" onclick="automaticReplayButtonClick()">Automatic replay: <span id="automatic-replay-status">off</span></button>
</div>
</div>
<!-- player container -->
<div id="player" class="hidden"></div>
<div id="status-bar" class="hidden">Automatic reproduction is on, video Nº <span id="watchedVideosStatusBar"></span>, <a href="#" onclick="automaticReplayButtonClick()">turn off</a></div>
<footer>
Created by @ecmgs - <a href="https://github.com/ECMGS">GitHub</a> - <a href="#">Repo</a>
</footer>
</body>
</html>