-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
227 lines (216 loc) ยท 13.3 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Lofi music streams for studying, working, and relaxing.">
<meta property="og:title" content="i love my cafe - lofi music ๐ง">
<title>Daiki - ๐ Lofi Music ๐ง</title>
<link rel="stylesheet" href="assets/css/widgetbot.css">
<link rel="stylesheet" href="assets/css/index.css">
<link rel="stylesheet" href="assets/css/pomodoro.css">
<link rel="shortcut icon" href="assets/media/icon/favicon.png" type="image/x-icon">
</head>
<body>
<div id="root">
<div class="fullscreen">
<div id="container" class="">
<div id="YouTube-player" class="pointer" style="z-index: 999; display: none"></div>
<img id="background" src="https://dc85enhu9zukf.cloudfront.net/gifs/lkceXNDw4Agryfrwz8.gif" alt=""
style="position: absolute; width: 100vw; height: 100vh; top: 0px; left: 0px; object-fit: cover; z-index: 0;">
<img id="preload1" src="https://dc85enhu9zukf.cloudfront.net/gifs/static3.gif" alt="preload"
style="position: absolute; top: 100%; left: 100%;">
<img id="preload2" src="https://dc85enhu9zukf.cloudfront.net/gifs/p71BYIPogqBPy.gif" alt="preload"
style="position: absolute; top: 100%; left: 100%;">
<div id="crt-lines"></div>
<div id="darken"></div>
<div id="vignette"></div>
<div id="top-ui">
<div>
<span class="red" id="visitors-counter">
<span id="radio-text" class="red">๐ด ฤร i phรกt thanh</span>
<span class="red" style="display: inline-block; width: 10px; margin-left: 4px;"></span>
</span>
</div>
<div class="vertical">
<div id="horizontal">
<button id="fullScreen" onclick="openFullscreen()" type="button" class="hide-small-screen"
title="Fullscreen"
style="display: flex; align-items: center; margin-right: 14px; line-height: 0;">
<img class="shadow" src="assets/media/svg/fullscreen-enter.47fab6db.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
<div id="pomo1">
<button id="pomodoro" type="button" title="Pomodoro Timer"
style="display: flex; align-items: center; margin-right: 14px; line-height: 0;">
<img class="shadow" src="assets/media/svg/timer.1427f4b2.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
</div>
<div id="pomodoro1" class="displayNone">
<button type="button" title="Pomodoro Timer"
style="display: flex; align-items: center; margin-right: 14px; line-height: 0;">
<img class="shadow" src="assets/media/svg/checkmark.27630148.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
</div>
<a
href="https://www.nature.org/en-us/about-us/who-we-are/our-science/three-ways-to-save-our-planet/">
<button type="button" title="Save earth"
style="display: flex; align-items: center; line-height: 0;">
<img class="shadow" src="assets/media/svg/heart.0513072e.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
</a>
</div>
</div>
</div>
<div style="width: 100%; z-index: 999; display: block;">
<div id="widget" class="displayNone">
<widgetbot server="965114792614441000" channel="965114793067434026" width="300" height="400">
</widgetbot>
</div>
<div style="width: 14px; height: 14px;"></div>
<!-- Pomodoro Container -->
<div id="pomo" class="displayNone">
<div class="pomodoro-container">
<!-- Session -->
<div class=" pomodoro-item">
<div id="labelSessionBreak" class="label">Session</div>
<div class="row-pomodoro">
<div id="timeLeft">25:00</div>
</div>
</div>
<!-- Session Length -->
<div class="pomodoro-item">
<div class="label">Session Length</div>
<div class="row-pomodoro">
<button id="sessionDecrement" class="btn-updown">-</button>
<div id="sessionLength" class="row-pomodoro lengthTime">25</div>
<button id="sessionIncrement" class="btn-updown">+</button>
</div>
</div>
<!-- Break Length -->
<div class="pomodoro-item">
<div class="label">Break Length</div>
<div class="row-pomodoro">
<button id="breakDecrement" class="btn-updown">-</button>
<div id="breakLength" class="row-pomodoro lengthTime">5</div>
<button id="breakIncrement" class="btn-updown">+</button>
</div>
</div>
<!-- Play/Pause/Reset -->
<div class="pomodoro-item playerButton">
<div class="row-pomodoro buttonRow">
<button id="buttonPlay" class="btn-controller">
<i id="playIcon" class="fa fa-play" aria-hidden="true">start</i>
</button>
<button id="buttonReset" class="btn-controller">
<i class="fas fa-sync" aria-hidden="true">reset</i>
</button>
</div>
</div>
</div>
</div>
<!-- Sound -->
<audio id="beep" src="https://www.soundjay.com/misc/sounds/bell-ringing-05.mp3"></audio>
<div class="btncon">
<div id="buttons-ui">
<div style="display: flex; justify-content: flex-start; align-items: center;">
<button type="button" style="display: flex; align-items: center; line-height: 0;">
<img onclick="youTubePlayerPlay();" id="play" class="shadow"
src="assets/media/svg/play.1055bee6.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
<img onclick="youTubePlayerPause();" id="pause" class="shadow displayNone"
src="assets/media/svg/pause.69ddfc29.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
<!-- <button type="button" style="display: flex; align-items: center; line-height: 0;">
<img class="shadow" src="assets/media/svg/shuffle.53b14e6b.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button> -->
<button id="previous" type="button"
style="display: flex; align-items: center; line-height: 0;">
<img class="shadow" src="assets/media/svg/previous.17bb0c57.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
<button id="forward" type="button"
style="display: flex; align-items: center; line-height: 0;">
<img class="shadow" src="assets/media/svg/forward.64c7a860.svg" alt=""
style="width: 20px; height: 20px; flex: 0 0 20px; margin-right: 0px;">
</button>
</div>
</div>
</div>
<span>
<input class="pointer" id="YouTube-video-id" type="text" value="Qt0-9mO-ZXY" size="12"
pattern="[_\-0-9A-Za-z]{11}" onchange="youTubePlayerChangeVideoId();"
style="display: none;">
</span>
<div style="width: 12px; height: 12px;"></div>
<div id="stations-selector">
<div id="stations-button" class="pointer"
style="display: flex; align-items: center; flex-wrap: nowrap;">
<span id="name-song" style="font-size: 18px; text-transform: none;">
๐ Space Lofi Hip Hop Radio 24/7 ๐ Chill Lofi Beats To Study, Lofi Sleep Music ๐ No
Copyright Lofi
</span>
</div>
</div>
<!-- <div>
<input id="YouTube-player-progress" type="range" value="0" min="0" max="100"
onchange="youTubePlayerCurrentTimeChange(this.value);"
oninput="youTubePlayerCurrentTimeSlide();">
<label for="YouTube-player-progress"></label>
</div> -->
<iframe id="spotify" class="displayNone style=" border-radius:12px"
src="https://open.spotify.com/embed/show/4ylcbRnWqPlCF1HnfwWnhN?utm_source=generator"
width="40%" height="232" frameBorder="0" allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture">
</iframe>
<div>
<input class="pointer" id="YouTube-player-volume" type="range" value="50" min="0" max="100"
style="margin: 15px 0px 0px 0px;" onchange="youTubePlayerVolumeChange(this.value);">
<label for="YouTube-player-volume"></label>
</div>
<span class="nowrap">
<button id="btn-1">
1
</button>
<button id="btn-2" onclick="document.getElementById('YouTube-video-id').value = idVideo.song2;">
2
</button>
<button id="btn-3" onclick="document.getElementById('YouTube-video-id').value = idVideo.song3;">
3
</button>
<button id="btn-4" onclick="document.getElementById('YouTube-video-id').value = idVideo.song4;">
4
</button>
<button id="btn-5">
๐ง
</button>
<button id="btn-6" class="displayNone">
๐ง
</button>
<button id="btn-7">
๐ฌ
</button>
<button id="btn-8" class="displayNone">
โ
</button>
</span>
</div>
</div>
</div>
</div>
<script src="assets/js/app.js"></script>
<script src="assets/js/data.js"></script>
<script src="assets/js/fullScreen.js"></script>
<script src="assets/js/textRadio.js"></script>
<script src="assets/js/spotify.js"></script>
<script src="assets/js/pomodoro.js"></script>
<script src="assets/js/widgetbot.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed"></script>
</body>
</html>