-
Notifications
You must be signed in to change notification settings - Fork 1
/
drive.html
238 lines (229 loc) · 14.3 KB
/
drive.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
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Google Drive Music Player</title>
<meta name="robots" content="index, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta name="Keywords"
content="Google Drive Music Player, GDMP, stream music from Google Drive, cloud music player, online music player, music streaming service, personal music collection, play music from cloud storage">
<meta name="description"
content="Experience seamless music streaming with GDMP, the Google Drive Music Player. Access and enjoy your own music collection from anywhere, anytime. Stream music directly from your Google Drive account and elevate your listening experience.">
<link rel="canonical" href="https://basic.pp.ua/drive.html">
<meta property="og:type" content="website">
<meta property="og:title" content="Google Drive Music Player">
<meta property="og:url" content="https://basic.pp.ua/drive.html">
<meta property="og:site_name" content="Google Drive Music Player">
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Google Drive Music Player",
"url": "https://basic.pp.ua/drive.html"
}
</script>
<link rel="icon" href="assets/sasalele_logo-removebg.webp" type="image/x-icon" />
<link rel="apple-touch-icon" href="assets/sasalele_logo-removebg.webp">
<link rel="shortcut icon" href="assets/sasalele_logo-removebg.webp" type="image/x-icon" />
<link rel="stylesheet" href="css/style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-v4-rtl/4.6.2-1/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-v4-rtl/4.6.2-1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script async src="https://www.googletagmanager.com/gtag/js?id=G-LDY4BC680M"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-LDY4BC680M');
</script>
</head>
<body onload="getFolderId()">
<div id="background"><img id="randomimg" src="" alt="."></div>
<div id="content">
<nav class="navbar sticky-top navbar-dark navbar-expand-md">
<a class="navbar-brand" href="https://basic.pp.ua/">
<img src="assets/sasalele_logo-removebg.webp" width="30" height="30"
class="d-inline-block align-top" alt="">
Sasalele Music Station
</a>
<button class="navbar-toggler navbar-dark" type="button" data-toggle="collapse"
data-target="#main-navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="main-navigation">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="https://basic.pp.ua/">Radios<i
class="fas fa-radio"></i></a>
</li>
<li class="nav-item dropdown"><a class="dropdown-toggle nav-link" data-toggle="dropdown"
aria-expanded="false" href="">Websites<i class="fas fa-fw fas fa-link"></i></a>
<div class="dropdown-menu">
<a class="dropdown-item" href="website.html#radiohere">Radio
Websites <i class="fas fa-tower-broadcast"></i></a>
<a class="dropdown-item" href="website.html#radiojppodcast">Japanese
Radios/Podcasts <i class="fas fa-podcast"></i></a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="website.html#websitehere">Music
Sites <i class="fas fa-headset"></i></a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="website.html#scrap">Download/Tools <i
class="fas fa-download"></i></a>
</div>
</li>
<li class="nav-item"><a class="nav-link" href="video.html">Videos<i
class="fas fa-video"></i></a>
</li>
<li class="nav-item"><a class="nav-link" href="">Drive Music Player<i
class="fa-brands fa-google-drive"></i></a></li>
<div class="d-flex justify-content-center align-items-center">
<div id="clock">
<span id="clockTime"></span>
<span id="clockDay"></span>
</div>
</div>
</ul>
</div>
</nav>
<div id="gdmp">
<button id="prev-btn" onclick="prevTrack()"><i class="fas fa-step-backward"></i></button>
<media-controller audio>
<audio slot="media" id="audio">
<source id="source" src="" type="audio/mpeg">
</audio>
<media-control-bar>
<media-play-button></media-play-button>
<media-time-display show-duration></media-time-display>
<media-time-range></media-time-range>
<media-playback-rate-button></media-playback-rate-button>
<media-mute-button></media-mute-button>
<media-volume-range></media-volume-range>
</media-control-bar>
</media-controller>
<button id="next-btn" onclick="nextTrack()"><i class="fas fa-step-forward"></i></button>
</div>
<section id="drive">
<div class="section-title">
<h1>Google Drive Music Player</h1>
</div>
<details open id="tips">
<summary>Guide</summary>
<div class="container">
<p>Paste the share link <a class="blank-name"
href="https://global.discourse-cdn.com/business7/uploads/glideapps/original/3X/3/1/31c8434de6f1d7cc408bcaade9a87ab8f92b9281.png"
target="_blank" rel="noopener noreferrer">Example Link</a> for the <a class="blank-name"
href="https://drive.google.com" target="_blank">Google
Drive</a> folder you would like to use and click the 'Load Link'
button. You can try some readily available public links in the dropdown to see how it
works.</p>
<p>Alternatively, login into your Google Account with your folder ID <a class="blank-name"
href="https://i.sstatic.net/YFZPb.png" target="_blank" rel="noopener noreferrer">Example
ID</a> or use
"<strong>root</strong>" to
browse from your
top-level
folder.<br></p>
<p>Read our <a class="blank-name" href="privacypolicy.html" target="_blank">Privacy
Policy</a>
</p>
</div>
</details>
<div class="container">
<form onsubmit="submitFolderId(event)">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="input-group mb-3">
<input type="text" class="form-control" required id="parentfolder"
name="parentfolder" placeholder="google-drive-folder-id">
<div class="input-group-append">
<button type="submit" class="btn btn-primary mb-3">
<i class="fab fa-google"></i> Login
</button>
</div>
</div>
</div>
</div>
</form>
<div class="row justify-content-center">
<div class="col-md-6">
<div class="input-group mb-3">
<input type="text" id="shareLinkInput" class="form-control" required
placeholder="Paste Google Drive share link here">
<div class="input-group-append">
<button class="btn btn-success" id="loadLinkButton">Load Link</button>
</div>
<div class="input-group-append ml-2">
<button class="btn btn-primary dropdown-toggle" type="button" id="folderDropdown"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Public Links
</button>
<div class="dropdown-menu" aria-labelledby="folderDropdown" id="folderDropdownMenu">
</div>
</div>
</div>
</div>
</div>
</div>
<div id="loadingSpinner" class="mb-4"></div>
<div id="file-tree" style="display: none;">
</div>
<div id="intro">
<div id="demo" class="loaded">
<details open>
<summary>Japanese Song Collection 1</summary>
<div class="track-container"><button class="track"
onclick="playTrack('好きにしなよ - Anly', this, 'demo')"><i class="fas fa-play"></i>
好きにしなよ -
Anly</button></div>
<div class="track-container"><button class="track"
onclick="playTrack('紅葉愛唄 - GARNiDELiA', this, 'demo')"><i class="fas fa-play"></i>
紅葉愛唄 -
GARNiDELiA</button></div>
<div class="track-container"><button class="track"
onclick="playTrack('花ハ踊レヤいろはにほ (随花起舞) - チーム・ハナヤマタ', this, 'demo')"><i
class="fas fa-play"></i>
花ハ踊レヤいろはにほ - チーム・ハナヤマタ</button></div>
</details>
<details open>
<summary>Japanese Song Collection 2</summary>
<div class="track-container"><button class="track"
onclick="playTrack('都会っ子田舎っ子 - びわ湖くん', this, 'demo')"><i class="fas fa-play"></i>
都会っ子田舎っ子
- びわ湖くん</button></div>
<div class="track-container"><button class="track"
onclick="playTrack('天空の狂詩曲 - さゆり', this, 'demo')"><i class="fas fa-play"></i>
天空の狂詩曲 -
さゆり</button></div>
<div class="track-container"><button class="track"
onclick="playTrack('ロストワンの号哭Band edition - 周平', this, 'demo')"><i
class="fas fa-play"></i>
ロストワンの号哭Band edition - 周平</button></div>
</details>
</div>
</div>
<div id="contents" style="display:none"></div>
<div class="container">
<div class="row justify-content-center pb-100">
<div class="col-auto mb-2">
<button class="btn btn-primary" onclick="changeFolder()">Change Folder / User</button>
</div>
<div class="col-auto">
<a class="btn btn-primary blank-name" href="https://myaccount.google.com/security"
target="_blank" role="button">
Revoke Access
</a>
</div>
</div>
</div>
</section>
</div>
<div class="back-to-top d-flex align-items-center justify-content-center"><i class="fa-solid fa-arrow-up"></i>
</div>
<script src="js/stats.js"></script>
<script src="js/gdmp.js"></script>
<script type="module" src="https://unpkg.com/[email protected]"></script>
<script async defer src="https://apis.google.com/js/api.js" onload="gapiLoaded()"></script>
<script async defer src="https://accounts.google.com/gsi/client" onload="gisLoaded()"></script>
</body>
</html>