-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
158 lines (156 loc) · 3.62 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script src="js/m3u.js" type="text/javascript"></script>
<style type="text/css">
#test audio {
width: 100%;
}
#player > label {
display: inline-block;
margin: 0.5em;
width: 100%;
text-align: center;
}
#player > label:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#test .control {
float: left;
}
ol.playlist {
width: 100%;
display: table;
padding: 10px;
}
div.control {
display: block;
width: 100%;
text-align: center
}
div.control * {
height: 2em;
line-height: 2em;
}
div.control a {
display: block;
width: 2em;
height: 2em;
line-height: 2em;
border: 3px solid #777;
border-radius: 15px;
background-color: #000;
text-align: center;
font-weight: bold;
color: #fff;
text-decoration: none;
}
div.control a:first-child {
float: left;
}
div.control a:last-child {
float: right;
}
ol.playlist li {
display: table-row;
cursor: hand;
line-height: 42px;
}
ol.playlist li:nth-child(odd) {
background-color: #eee;
}
ol.playlist li.active {
background-color: #aea;
cursor: inherit;
}
ol.playlist span {
display: table-cell;
text-align: center;
}
ol.playlist span.feed, ol.playlist span.date {
color: #555;
font-size: 0.8em;
}
ol.playlist span.feed {
text-align: left;
}
ol.playlist span.data {
text-align: right;
}
div#player {
position: fixed;
bottom: 0px;
background-color: #CCC;
padding: 10px 0px;
right: 0px;
margin: 0px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
width: 100%;
text-align: center;
}
</style>
<style media="only screen and (max-device-width: 640px)" type="text/css">
ol.playlist {
display: inline;
}
ol.playlist li {
display: list-item;
}
ol.playlist li span {
display: block;
float: left;
}
ol.playlist li span.episode {
float: right;
}
ol.playlist li span.size {
float: right;
}
ol.playlist li span.size:after {
content: "";
height: 0;
display: block;
clear: right;
visibility: hidden;
}
ol.playlist li:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
ol.playlist li span.empty {
display: none;
}
</style>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<body onload="m3u('test','relative.m3u',true)">
<div id="page">
<h1>Podcast-Aggregation</h1>
<p>Ziel ist eine serverseitige Aggregation von Podcasts und ein Streamen zu beliebigen Clients. Quellcode gibt es auf <a href="https://github.com/DrAzraelTod/podcatcher.sh">GitHub</a>.
</p>
<p>Das ist momentan nur ein Test. Podcasts können als Playliste abgerufen werden oder via HTML5 abgespielt werden.</p>
<p>aktuelle Audio-Playlisten:
<ul>
<li><a href="./relative.m3u">Relativ</a></li>
<li><a href="./absolute.m3u">Absolut</a></li>
</ul>
</p>
<p>Alternativ kann <a href="./export.tgz">alles inkl. der relativen Playliste</a> übertragen werden.</p>
<div id="test">
</div>
<p>Player-Modus wechseln:
<ul>
<li><a onclick="m3u('test', 'relative.m3u', true)" href="#">einzelne Datei laden</a></li>
<li><a onclick="m3u('test', 'relative.m3u', false)" href="#">alle Dateien laden</a></li>
</ul>
</p>
</div>
</body>
</html>