Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
118 lines (103 loc) · 2.6 KB
/
Copy pathindex.html
File metadata and controls
118 lines (103 loc) · 2.6 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<title>Loadingscreen</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css" />
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<style>
.content {
position: fixed;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
color: #f1f1f1;
width: 100%;
padding: 20px;
}
#myBtn {
width: 200px;
font-size: 18px;
padding: 10px;
border: none;
background: #000;
color: #fff;
cursor: pointer;
}
#myBtn:hover {
background: #ddd;
color: black;
}
.home-banner .slide .video-slide {
background-color: #000; }
.home-banner.loading .video-background {
opacity: 0; }
.video-background {
position: absolute;
top: 44%;
left: 0;
padding-top: 56.25%;
width: 100%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
-webkit-transition: 2s opacity ease;
transition: 2s opacity ease;
opacity: 1; }
.video-foreground,
.video-background iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none; }
</style>
<section id="home-banner-box" class="home-banner loading">
<div class="image video-slide" style="background-image: url($ImageURL)">
<div class="video-background">
<div class="video-foreground" id="YouTubeBackgroundVideoPlayer">
</div>
</div>
</div>
</section>
<script async src="https://www.youtube.com/iframe_api"></script>
<script async src="video.js"></script>
<div class="content">
<button id="myBtn" onclick="myFunction()">Play</button>
</div>
<audio loop id="myAudio">
<source src="audio.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<script>
var x = document.getElementById("myAudio");
var btn = document.getElementById("myBtn");
function myFunction() {
if (x.paused) {
x.play();
btn.innerHTML = "Pause";
} else {
x.pause();
btn.innerHTML = "Play";
}
}
</script>
<div id="intro">
<div>
<img src='gif.gif' style='width:300px;height:300px;'>
</div>
<hr style='width:300px'>
<div><font face='Permanent Marker' size='15px' style='color: white;'>Portucalense Roleplay</font></div>
<div>
<p class='loading' style='color: white;'>A carregar a tua peronagem</p>
</div>
<div>
<font face='Montserrat' size="3px" style='color: white;'>discord.io/portucalense</font>
</div>
</div>
</div>
</body>
</html>