// this is the initializer function
$(".audio").mb_miniPlayer({
width:240,
inLine:false,
onEnd:playNext
});
// and this is function invoked as 'onEnd' callback
// Both the onPlay and onEnd callback functions receive the index of the player as parameter.
function playNext(idx){
var players=$(".audio");
document.playerIDX = idx+1 <= players.length-1 ? idx+1 : 0;
players.eq(document.playerIDX).mb_miniPlayer_play();
}
$(".audio").mb_miniPlayer({ width:240, inLine:false, onEnd:playNext });this line to start mp3 player.
1.https://github.com/pupunzi/jquery.mb.miniAudioPlayer
for DJ https://github.com/pupunzi/jquery.mb.audio
http://pupunzi.com/#mb.components/components.html
----------------------------------------------------------------------------------------
mb.miniAudioPlayer
Skin Maker
GIt hub
https://github.com/rwadhol
-------------------------------------------------------------------
https://github.com/pupunzi?tab=repositoriesPLAYLIST
http://www.republicofcode.com/tutorials/flash/as3musicplayer/
http://www.republicofcode.com/tutorials/flash/as3musicplayer/
http://www.pixel2life.com/publish/tutorials/17/create_a_full_streaming_flash_mp3_player_using_xml_/
No comments:
Post a Comment