HTTPS SSH

Javascript panel.nadaje.com API widgets collection

USAGE

Initialization

In order to use any widget you have to pass access token of your radio – for example:

$('#history-container').streamingHistoryPreview({
    token: 'YOUR TOKEN HERE'
});

You can find access token under settings section in radio panel.

Testing

You have to be careful when testing widgets in Internet Explorer – due to IE bug/philosophy you can’t test widgets (it’s impossible to make ajax cross domain requests) from local file (for example: when you try to load examples/widgest.html from local drive into IE) – you have to serve it through http.

Requirements

You have to include jquery – look into examples directory for more information.

TODO

  • jQuery calendar widget.
  • Full blown javascript API client.