Skip to content

jucrouzet/icecast.js

Repository files navigation

⚠️ 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 :

  • An .m3u playlist url
  • An .xspf playlist url
  • An .vclt playlist url
  • The stream url

Motivations

Using an Icecast stream as an src attribute value may work but :

  • Browsers may detect the stream type

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 :)

About

Pure JavaScript Icecast-based Webradio player.

Resources

License

Stars

Watchers

Forks

Packages

No packages published