View Radio Example

NK InternetPlayer

Description

NKInternetPlayer allows you to played streamed media. MP3 and AAC streams supported.

Usage

Example

function playRadio() {
var radio = new NKInternetPlayer();
radio.notifyPlayingStarted("stopSpin");
radio.forceDecoderFormat("aac");
radio.playFromURL("http://radio.com:8080");
}
function stopRadio() {
var radio = new NKInternetPlayer();
radio.stop();
}

See the example source code for a more detailed implementation.