Skip to content

OhMyRadio.js - An Online Radio Player Library

License

Notifications You must be signed in to change notification settings

datt/OhMyRadio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OhMyRadio.js 🎶

♫ Oh My Radio ♫

Demo example wrote w/ :sparkling_heart:

oh-my-radio-screenshot!

Requirements:

Usage

  • For a complete working example, see examples/index.html file.
  • Demo available here, BTW.

Public API

Beware of relying on below API methods, as these may change any time! ❗ I'm very bad guy, you know that!

  • OhMyRadio.nextStation()
  • OhMyRadio.prevStation()
  • OhMyRadio.playToggle()
  • OhMyRadio.increaseVolume()
  • OhMyRadio.decreaseVolume()
  • OhMyRadio.playById()
  • OhMyRadio.playByName()

FYI

  • Currently supports radio stations from shoutcast.com only.
  • This project is inspired by Jai Pandya's Beatbar.js.

TODO

  • Provide API to list all stations.
  • Provide API to add new stations dynamically.
  • Provide anotated source code documentation.
  • Rework for cross-browser support.
  • Add support to add stations from other sites than shoutcast.com.

Contributing

Hey, you're encouraged to contribute to this project.

  • Fork this project.
  • Report bugs, comment on and close open issues.
  • Update CHANGELOG.
  • Make a pull request, bonus points for topic branches.

Copyright and License

Copyright (c) 2013, Vishal Telangre and Contributors. All Rights Reserved.

This project is licenced under the MIT License.

About

OhMyRadio.js - An Online Radio Player Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published