rPlayer in action

Listen The Beat 92.5 Montreal

Infos

Playing:
Volume: %
Muted:
Source:
Time: seconds

Easy to use

var player = new rPlayer();

Play

player.play('URL');

Stop

player.stop();

Mute

player.mute();

Set Volume

You can only set volume between 0 and 10

player.volume = 7; // 7 Default set in local storage

timeupdate event

The timeupdate event is fired when the time indicated by the currentTime attribute has been updated.

rplayer.onTimeUpdate = function() {
  console.log('Time:', player.currentTime);
};

Infos

console.log('Playing:', player.playing);
console.log('Volume:', player.volume);
console.log('Muted:', player.muted);
console.log('Source:', player.src);
console.log('Time:', player.currentTime);


Star

rPlayer

rPlayer is a player play streaming radio, this player, offers the possibility to change different audio format. Example: .m3u8, .mp3, .aac.