Current Playlist JS widget
Source code for this demo web site is on Github
Most recent playlist/show using JavaScript
This page shows how you can put the current playlist on the page using the Spinitron JavaScript Widget. See Now-Playing JS for general info on the widget.
Available parameters:
Parameter | Use |
---|---|
station |
Station id, e.g. "wzbc". Mandatory |
Now Playing parameters | All Now Playing widget parameters are also applicable and affect the playlist spins display. |
If no playlist is currently playing, currently on-air show and most recent playlist are displayed.
Set the styles for the widget together with the styles of the page.
The example iframe on this page is
<div data-station="wzbc" data-action="current-playlist" class="spinitron-js-widget"></div>
<script async src="//spinitron.com/static/js/widget.js"></script>
See also the API demo