var laguneRek = [
"http://xover3.jkt.3d.x.indowebster.com/download/41/0zpyqz5m6lfsuk5ec0qaf1imtfvdmggp.mp3",
"http://cdn.x.indowebster.com/download/5/089edc93be2f88ee36b92ea70482411b.mp3",
];
var gbrPlay ='<img src="http://ahmaddhani.com/dhani/modules/mod_ninja_shadowbox/ninja_shadowbox/js/skin/concept/icons/play.gif" style="vertical-align:middle; width:16px;"/>';
var gbrStop ='<img src="http://english.hpc.co.kr/06_Prcenter/images/pr/media/btn_stop.gif" style="vertical-align:middle; width:16px;"/>';
function stel(uri,dimana){
var player = 'http://4tf.us/playergv1.swf';
var embed = '<embed src="'+player+'?soundFile='+uri+'&autostart=yes&loop=yes" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" height="24" width="290" style="vertical-align:middle;"/>';
var id = dimana;
var tStop = '<a onClick="stop(\''+uri+'\',\''+dimana+'\');this.style.display=\'none\'" title="Stop">'+gbrStop+'</a>';
document.getElementById(dimana).innerHTML=embed+' '+tStop;
}
function stop(uri,dimana){
var id = dimana;
var tStel = '<a onClick="stel(\''+uri+'\',\''+dimana+'\');this.style.display=\'none\'" title="Play">'+gbrPlay+'</a>';
document.getElementById(dimana).innerHTML=tStel;
}
</script>
<div style="margin:5px; text-align:center;">
<div id="disini" style="margin-bottom:10px; border-bottom:1px outset green;"></div>
<script type="text/javascript">
var adeBrapeYe = laguneRek.length;
var ini = Math.floor(Math.random()*adeBrapeYe);
var ygini = laguneRek[ini];
setTimeout("stel(ygini,'disini')",);
</script>
</div>
yang 30000 = 30 detik itu adalah waktu keluarnya lagu
(biar gak tabrakkan saat memuat halaman :P)
var laguneRek = [
"http://xover3.jkt.3d.x.indowebster.com/download/41/0zpyqz5m6lfsuk5ec0qaf1imtfvdmggp.mp3",
"http://cdn.x.indowebster.com/download/5/089edc93be2f88ee36b92ea70482411b.mp3",
];
Tidak ada komentar:
Posting Komentar