function player(){ var myPlaylist = new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_1", cssSelectorAncestor: "#jp_container_1" }, [{ title:"Juna Prasain - Kammar Markai", mp3:"/music/cool/index.php?x=23" },{ title:"", mp3:"/music/cool/index.php?x=0" },{ title:"Dil Tamang - Timro Najarle", mp3:"/music/cool/index.php?x=11" },{ title:"Nabin K Bhattarai - Bhanu K Ma", mp3:"/music/cool/index.php?x=7" },{ title:"Joheb Manandhar - Timro Mero Sambandha", mp3:"/music/cool/index.php?x=4" },{ title:"Sachin Khatri - Thaha Chaina", mp3:"/music/cool/index.php?x=19" },{ title:"Nabin K Bhattarai - Million Faces", mp3:"/music/cool/index.php?x=9" },{ title:"Rohit Rana - Jaba Dhalcha Sanjh", mp3:"/music/cool/index.php?x=17" },{ title:"", mp3:"/music/cool/index.php?x=18" },{ title:"Kabi Raj - Aama", mp3:"/music/cool/index.php?x=16" },{ title:"Sugam Pokharel - Eutai Gham", mp3:"/music/cool/index.php?x=25" },{ title:"Siddhartha Rai - Mero Maya", mp3:"/music/cool/index.php?x=8" },{ title:"Prem Lama - Ekantama", mp3:"/music/cool/index.php?x=5" },{ title:"", mp3:"/music/cool/index.php?x=3" },{ title:"Deepak Limbu And Durga Kharel - Kina Kina", mp3:"/music/cool/index.php?x=10" },{ title:"Dharmendra Sewan - Khattam Pyar", mp3:"/music/cool/index.php?x=12" },{ title:"Kamal Man Singh - Hey Nachauna", mp3:"/music/cool/index.php?x=22" },{ title:"Karma Band - Taremaam", mp3:"/music/cool/index.php?x=24" },{ title:"Prayom - Aaudaichhu", mp3:"/music/cool/index.php?x=2" },{ title:"Manuta Kambang Limbu - Tadha Tadha", mp3:"/music/cool/index.php?x=13" },{ title:"Prashamsa Shrestha - Yo Bandha Aankha Ma", mp3:"/music/cool/index.php?x=14" },{ title:"Sanjay Kishor Shrestha - Aau Na Aau", mp3:"/music/cool/index.php?x=6" },{ title:"Sugam Pokharel - Timi Merai Lagi Banekai Ho", mp3:"/music/cool/index.php?x=1" },{ title:"Kamal Man Singh - Sakina", mp3:"/music/cool/index.php?x=15" },{ title:"Govin Gyani - Hawasari", mp3:"/music/cool/index.php?x=21" },{ title:"Sareeta Prajapati - Herda Herdai", mp3:"/music/cool/index.php?x=20" }], { swfPath: "/js", supplied: "mp3", wmode: "window", smoothPlayBar: true, keyEnabled: true, preload: "auto" }); $('#jquery_jplayer_1').bind($.jPlayer.event.play, function(event) { var current = myPlaylist.current; var playlist = myPlaylist.playlist; $.each(playlist, function(index, object) { if(index == current) { $('#currentSong').html(object.title); $('#musicanalyzer').html('

Explore Nepal: MusicExplore Nepal: Music

'); } }); }); $('#jquery_jplayer_1').bind($.jPlayer.event.pause, function(event) { var current = myPlaylist.current; var playlist = myPlaylist.playlist; $.each(playlist, function(index, object) { if(index == current) { $('#musicanalyzer').html(" "); } }); }); }