jucrouzet / icecast.js

Pure JavaScript Icecast-based Webradio player.
MIT License
15 stars 3 forks source link

:warning: This project is a Work In Progress (aka not event beta) !

Build Status codecov

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 :

Motivations

Using an Icecast stream as an

Supports Icecast Meta-Data

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.

Full support

Icecast.js will work all natively on r(d?)ecent browsers :

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Opera
Opera
Chrome for Android
Chrome for Android
Edge last 5 versions last 7 versions last 3 versions last version

Quick start

Todo :)

Documentation

Todo :)

API Documentation

Todo :)