-
Notifications
You must be signed in to change notification settings - Fork 0
/
podcast.html
275 lines (213 loc) · 7.28 KB
/
podcast.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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html>
<html>
<!--
GEOMETRON/TRASH MAGIC!
NO MONEY!
NO MINING!
NO PROPERTY!
EVERYTHING IS PHYSICSAL!
EVERYTHING IS FRACTAL!
EVERYTHING IS RECURSIVE!
LOOK AT THE INSECTS!
LOOK AT THE FUNGI!
LANGUAGE IS HOW THE MIND PARSES REALITY!
CAPS LOCK ALWAYS ON!
USE CARDBOARD TRASH TO SPREAD THE MEMES!
USE STICKS TO SPREAD THE MEMES!
-->
<head>
<link href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACe8wAAnHMAAO7vAAD//wAA+D8AAPu/AADauwAAirEAANq7AAD7vwAA8B8AAPx/AADv7wAAnvMAAJxzAAD+/wAA" rel="icon" type="image/x-icon" />
<!--Stop Google:-->
<META NAME="robots" CONTENT="noindex,nofollow">
<meta charset="utf-8" />
<!--
WEBAMP is a JavaScript Library which brings back the magic of winamp!
Winamp was the mp3 player of choice for a whole lot of the Napster generation, sharing music back in the 90s.
I WAS THERE, GANDALF! I WAS THERE 3000 YEARS AGO!
https://webamp.org/ has the information on web amp
main code page for the project:
https://github.com/captbaritone/webamp
api reference:
https://github.com/captbaritone/webamp/blob/master/packages/webamp/docs/usage.md
webamp skins museum:
https://skins.webamp.org/
-->
<script src = "https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.min.js"></script>
<script src="https://unpkg.com/webamp@1.4.2/built/webamp.bundle.min.js"></script>
<script src="https://unpkg.com/butterchurn@2.6.7/lib/butterchurn.min.js"></script>
<script src="https://unpkg.com/butterchurn-presets@2.4.7/lib/butterchurnPresets.min.js"></script>
<script src = "trashmagic.js"></script>
</head>
<body>
<div id="app" style = "position:absolute;left:0px;top:0px">
<!-- Webamp will attempt to center itself within this div -->
</div>
<div id = "mainscroll">
<h1>PODCAST</h1>
<a href = "index.html">HOME</a>
<p>
record podcasts and put into the podcast folder
</p>
<a href = "https://www.audacityteam.org/download/">DOWNLOAD AUDACITY</a>
<div id = "qrcode"></div>
</div>
<script>
const Webamp = window.Webamp;
const webamp = new Webamp({
initialTracks: [
],
// Optional. The default skin is included in the js bundle, and will be loaded by default.
// initialSkin: {
// NOTE: Your skin file must be served from the same domain as your HTML
// file, or served with permissive CORS HTTP headers:
// https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
// Can be downloaded from https://github.com/captbaritone/webamp/raw/master/skins/TopazAmp1-2.wsz
// url: "skins/Matrix_by_sukhi.wsz"
// },
availableSkins: [
// { url: "./osx.wsz", name: "Mac OSX v1.5 (Aqua)" }
],
__butterchurnOptions: {
importButterchurn: () => Promise.resolve(window.butterchurn),
getPresets: () => {
const presets = window.butterchurnPresets.getPresets();
return Object.keys(presets).map((name) => {
return {
name,
butterchurnPresetObject: presets[name]
};
});
},
butterchurnOpen: true
},
__initialWindowLayout: {
main: { position: { x: 0, y: 0 } },
equalizer: { position: { x: 0, y: 116 } },
playlist: { position: { x: 0, y: 232 }, size: [0, 4] },
milkdrop: { position: { x: 275, y: 0 }, size: [7, 12] }
}
});
// Returns a promise indicating when it's done loading.
webamp.renderWhenReady(document.getElementById('app'));
/*
webamp.appendTracks([
{url: 'https://archive.org/download/261MortiisKeiserAvEnDimensjonUkjentRemastered/204%20-%20Midnight%20Syndicate%20-%20Ride%20to%20Destiny.mp3'},
{url: 'https://archive.org/download/261MortiisKeiserAvEnDimensjonUkjentRemastered/203%20-%20Midnight%20Syndicate%20-%20Troubled%20Times.mp3'},
{url: 'https://archive.org/download/261MortiisKeiserAvEnDimensjonUkjentRemastered/211%20-%20Midnight%20Syndicate%20-%20Craft%20of%20the%20Wizard.mp3'}
]);
*/
mixtapefolder = "podcast";//make this the name of the folder with the songs in it
files = [];
var httpcimages = new XMLHttpRequest();
httpcimages.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
files = JSON.parse(this.responseText);
tracks = [];
for(var index = 0;index < files.length;index++){
var track = {};
track.url = mixtapefolder + "/" + files[index];
tracks.push(track);
}
webamp.appendTracks(tracks);
}
};
httpcimages.open("GET", "dir.php?filename=" + mixtapefolder, true);
httpcimages.send();
skins = [];
var httpcskins = new XMLHttpRequest();
httpcskins.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
skins = JSON.parse(this.responseText);
for(var index = 0;index < skins.length;index++){
var skin = {};
skin.url = "skins/" + skins[index];
skin.name = skins[index];
webamp.options.availableSkins.push(skin);
}
}
};
httpcskins.open("GET", "dir.php?filename=skins", true);
httpcskins.send();
titles = document.getElementsByTagName("H1");
for(var index = 0;index < titles.length;index++){
rainbowstring(titles[index]);
}
//googleyeyes(12);
rainbow(document.getElementsByTagName("A"));
</script>
</body>
<style>
body{
overflow:hidden;
background-color:#202020;
font-family:Comic Sans MS;
}
#mainscroll{
position:absolute;
left:0px;
right:0px;
bottom:0px;
top:0px;
overflow:scroll;
color:#00ff00;
font-family:courier;
z-index:0;
}
pre{
font-family:courier;
}
h1{
text-align:center;
font-size:4em;
font-family:helvetica;
}
p{
text-align:justify;
padding:1em 1em 1em 1em;
font-size:1.5em;
border:solid;
display:block;
border-color:white;
border-width:10px;
border-radius:1em;
background-color:#0000ff;
color:white;
width:80%;
margin:auto;
margin-top:1em;
}
#mainscroll a{
text-align:center;
font-family:helvetica;
font-size:3em;
width:80%;
margin:auto;
display:block;
border:solid;
border-radius:0.5em;
border-width:0.5em;
color:black;
margin-top:1em;
margin-bottom:0.5em;
overflow-x:scroll;
}
img{
display:block;
max-width:50%;
margin:auto;
margin-top:2em;
margin-bottom:2em;
background-color:#B0916E;
}
@media only screen and (orientation: portrait) {
#mainscroll{
top:50%;
}
}
@media only screen and (orientation: landscape) {
#mainscroll{
left:50%;
}
}
</style>
</html>