http://www.juliencrouzet.fr/icecast.js/
Stream any Icecast Webradio in your browser.
Just include the .js file and set your Icecast stream url in the src
attribute of your <audio>
tag.
The stream url can be :
- An
.m3u
playlist url - An
.xspf
playlist url - An
.vclt
playlist url - The stream url
Using an Icecast stream as an src
attribute value may work but :
- Browsers may detect the stream type
Want to update your Now playing text with the songs you play (I mean, at the exact millisecond), without having to constantly fetch data to a Webservice ? You want an audio ad to be synchronized with a display one on your page ? Icecast.js adds extra events to HTMLAudioElement element for that.
Icecast.js will work all natively on r(d?)ecent browsers :
IE / Edge |
Firefox |
Chrome |
Opera |
Chrome for Android |
---|---|---|---|---|
Edge | last 5 versions | last 7 versions | last 3 versions | last version |
Todo :)
Todo :)
Todo :)