forked from podlove/podlove-subscribe-button
-
Notifications
You must be signed in to change notification settings - Fork 0
/
minimal.html
143 lines (125 loc) · 3.6 KB
/
minimal.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
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<style>
body {
font-family: 'Roboto';
color: #444;
height: 100%;
margin: 0 auto;
padding-top: 25px;
text-align: center;
width: 60%;
}
button {
text-transform: uppercase;
}
body.dark {
background: #444;
color: #fff;
}
body .darktoggle {
color: #444;
}
body .lighttoggle {
color: #fff;
display: none;
}
body.dark .darktoggle {
display: none;
}
body.dark .lighttoggle {
display: block;
}
hr {
border: none;
border-top: 1px solid #ccc;
margin: 40px -100px 30px;
}
.podlove-subscribe-button-iframe {
margin: 0 auto 25px;
}
.feed-form input {
font-size: 18px;
height: 30px;
width: 100%;
}
.feed-form button {
background-color: #75ad91;
border: 1px solid #456757;
border-radius: 2px;
color: #fff;
font-size: 18px;
height: 40px;
text-shadow: 0 1px 0 rgba(0, 0, 1, .08);
width: 110px;
}
.feed-form button:disabled {
background-color: rgb(200, 200, 200);
border-color: rgb(240, 240, 240);
color: rgb(240, 240, 240);
}
.feed-form .success {
background-color: #75ad91;
border: 1px solid #456757;
border-radius: 2px;
color: #fff;
display: none;
padding: 10px 0;
text-shadow: 0 1px 0 rgba(0, 0, 1, .08);
}
.auto-size {
margin: 0 auto;
width: 300px;
}
@media (max-width: 500px) {
body,
.auto-size {
width: 100%;
}
}
</style>
<script src="http://zeptojs.com/zepto.min.js"></script>
</head>
<body>
<script>
window.podcastData = {
"title": "Newz of the World",
"subtitle": "Tim and Mark talk about the Newz™",
"description": "Newz of the World is a weekly show about world news. Mark Fonseca Rendeiro and Tim Pritlove come together to present interesting reports and discuss their aspects and possible consequences. Newz of the world wants to be an alternative window to the common media flow and cherry picks interesting developments for you.",
"cover": "http://meta.metaebene.me/media/newz/newz-logo-600x600.jpg",
"feeds": [
{
"type": "audio",
"format": "mp3",
"url": "http://newz-of-the-world.com/feed/mp3",
"variant": "high"
},
{
"type": "audio",
"format": "aac",
"url": "http://newz-of-the-world.com/feed/m4a",
"variant": "high"
},
{
"type": "audio",
"format": "ogg",
"url": "http://newz-of-the-world.com/feed/ogg",
"variant": "high"
},
{
"type": "audio",
"format": "opus",
"url": "http://newz-of-the-world.com/feed/opus",
"variant": "high"
}
]
}
</script>
<h1>Podlove Subscribe Button</h1>
<h2>Big</h2>
<script class="podlove-subscribe-button" src="dist/javascripts/app.js" data-language="en" data-size="big" data-json-data="podcastData"></script>
<noscript><a href="http://newz-of-the-world.com/feed/mp4">Subscribe to feed</a></noscript>
</html>