-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplaylist.html
executable file
·90 lines (76 loc) · 3.41 KB
/
playlist.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Current playlist</title>
<meta name="Description" content="Demonstrates embedding a Spinitron playlist on your web site.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<meta name="msapplication-config" content="browserconfig.xml" />
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#888888">
<meta name="theme-color" content="#000000">
</head>
<body>
<div class="header-container">
<header>
<nav>
<a href="index.html">Now Playing</a>
<a href="widget.html">Now Playing JS</a>
<a href="playlist.html">Current Playlist</a>
<a href="playlist-js.html">Current JS</a>
<a href="shows.html">Upcoming Shows</a>
<a href="shows-js.html">Upcoming JS</a>
<a href="schedule.html">Schedule</a>
</nav>
</header>
</div>
<div class="main-container">
<div class="main">
<h1>Current Playlist iframe widget</h1>
<div class="widget-docs">
<p class="github"><a href="https://github.com/spinitron/v2-web-integration">Source code</a>
for this demo web site is on Github</p>
<h2>Most recent playlist/show in an iframe</h2>
<p><a href="https://github.com/spinitron/v2-web-integration/blob/master/playlist.html">This page</a>
shows how you can put the current playlist in an iframe.</p>
<p>Available parameters:</p>
<table>
<thead>
<tr>
<th>Parameter</th>
<th>Use</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>station</code></td>
<td>Station id, e.g. "wzbc". Mandatory</td>
</tr>
<tr>
<td><a href="index.html">Now Playing</a> parameters</td>
<td>All Now Playing widget parameters are also applicable and affect the playlist spins display.
</td>
</tr>
</tbody>
</table>
<p>If no playlist is currently playing, currently on-air show and most recent playlist are displayed.</p>
<p class="clearfix">Set the styles for the iframe contents in Spinitron. Go to Admin: Station settings:
Custom stylesheet.</p>
<p>The example iframe on this page is</p>
<pre><code><iframe src="//widgets.spinitron.com/widget/current-playlist?station=wzbc"></iframe></code></pre>
</div>
<div class="large">
<iframe src="//widgets.spinitron.com/widget/current-playlist?station=wzbc"></iframe>
</div>
<p>See also the <a href="https://spinitron.com/v2-api-demo/">API demo</a></p>
</div> <!-- #main -->
</div> <!-- #main-container -->
</body>
</html>