Skip to content

High-level JavaScript API for performing playback of RadioKit channels.

Notifications You must be signed in to change notification settings

radiokit/toolkit-js-playback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RadioKit JS Toolkit: Playback

High-level JavaScript API for performing playback of RadioKit-powered channels.

Documentation

See https://docs-toolkit-js.radiokit.org/en/latest/playback.html.

Demo

See https://radiokit.github.io/toolkit-js-playback-demo/

Otherwise you can run demo locally. In order to run demo located in the demo/ folder, build the browser bundle, enter the demo folder and run

python -m SimpleHTTPServer

And open http://localhost:8000 in the browser.

Then you can type in the browser console e.g.

window.player = new RadioKitToolkitPlayback.Player.Channel("3d49ef93-a010-4649-b3ed-b0f99fe96173", "123");
window.player.start();

Development

  • Clone the repo
  • Enter dir with the project
  • Install NPM packages: npm install

Building browser bundle

  • Type npm run build-browser

Browser-compatible version will be located in dist/browser/.

Authors

Marcin Lewandowski [email protected]

License

MIT

About

High-level JavaScript API for performing playback of RadioKit channels.

Resources

Stars

Watchers

Forks

Packages

No packages published