-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (95 loc) · 3.67 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
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
<!DOCTYPE html>
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Saira+Condensed:wght@200&display=swap" rel="stylesheet">
<style>
body {
padding-top: 20px;
text-align: center;
font-size: 22pt;
font-family: 'Bebas Neue', cursive;
}
h1{
font-size: 70pt;
padding-bottom: 20px;
}
h4 {
font-family: 'Saira Condensed', sans-serif;
}
p {
margin: 4pt -4pt;
}
button {
background-color: #eee;
font-size: 17pt;
border-radius: 30px;
border-width: 2px;
border-color: rgba(200,200,200,0.5);
padding: 8px;
}
@media only screen and (max-device-width: 800px) {
body {
padding-top: 40px;
text-align: center;
font-size: 44pt;
font-family: 'Bebas Neue', cursive;
}
h1{
font-size: 140pt;
padding-bottom: 40px;
}
h4 {
font-family: 'Saira Condensed', sans-serif;
}
p {
margin: 8pt -8pt;
}
button {
background-color: #eee;
font-size: 34pt;
border-radius: 60px;
border-width: 4px;
border-color: rgba(200,200,200,0.5);
padding: 16px;
}
}
</style>
</head>
<body>
<h1> 🎧️ </h1>
<!-- MUSICA 01 -->
<audio id="musica01">
<source src="https://filesamples.com/samples/audio/mp3/sample4.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<p class="audio" id="playerMusica01">Música 01</p>
<button onclick="playAudio('musica01')" type="button"> ▶️ </button>
<button onclick="pauseAudio('musica01')" type="button"> ⏸️ </button>
<button onclick="stopAudio('musica01')" type="button"> ⏹️ </button>
<br><br>
<!-- MUSICA 02 -->
<audio id="musica02">
<source src="https://filesamples.com/samples/audio/mp3/Symphony%20No.6%20(1st%20movement).mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<p class="audio" id="playerMusica02">Música 02</p>
<button onclick="playAudio('musica02')" type="button"> ▶️ </button>
<button onclick="pauseAudio('musica02')" type="button"> ⏸️ </button>
<button onclick="stopAudio('musica02')" type="button"> ⏹️ </button>
<br><br>
<!-- MUSICA 03 -->
<audio id="musica03">
<source src="https://filesamples.com/samples/audio/mp3/sample3.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<p class="audio" id="playermusica03">Música 03</p>
<button onclick="playAudio('musica03')" type="button"> ▶️ </button>
<button onclick="pauseAudio('musica03')" type="button"> ⏸️ </button>
<button onclick="stopAudio('musica03')" type="button"> ⏹️ </button>
<br><br>
<span><h4>By: <a href="http://flowoffice.eu5.net/">Flou Ainan</a></h4></span>
</body>
<script src="player.js"></script>
</html>