This is a template for an internet radio site. It's optimized as a web client for an Icecast server.
See demo here https://walexi.github.io/iradio/
To use this
-
Edit the main.js file in the js directory
-
Change the url on line 3 in the radioTitle function
var url = ' '; //put the url to fetch currently playing here. For an icecast server, it looks like this 192.000.000/iradio.xspf
-
Modify the url on line 55
$(this).jPlayer("setMedia", {mp3: " " //Put the url of the server here such as 192.000.000.000/iradio}).jPlayer("play");
-
You can also change the logo in the img folder and edit to suit your taste
Credits: jplayer https://github.com/jplayer/jPlayer
zen player https://github.com/simurai/ZEN-Player