html/hta mutiple file in audio player -


ok started coding .hta application , pretty html page .hta extension , adde mp3 player , did work

<object data="test.mp3" type="audio/mp3" width="200" height="40">  <param name="src" value="test.mp3">  <param name="autostart" value="0">  </object>

but it's 1 song playing again , again , plz there way add multiple files playlist believe it's should added "src" parameters not sure, i'm starting did add "," in between , , tried ";" none of them working i'm waiting answers :d

i wanna know if can show me how become familiar tag see it's helpful , powerful activex, audio,video,pdf .... files i'm waiting impatiently [i don't know object, plz plz more clear]

get inspired example hta_audio_player.hta

<html> <head> <title>hackoo audio player playlist hackoo 2014</title> <hta:application       id = "music"       icon="http://files.softicons.com/download/social-media-icons/free-large-twitter-icons-by-aha-soft/ico/audio.ico"       applicationname="music"       scroll="no"       navigable="no"       selection="no"       showintaskbar="yes"       singleinstance="no"       innerborder="no"       maximizebutton="no"       minimizebutton="yes"       border="dialog"       borderstyle="normal"       caption="yes"       contextmenu="no"       sysmenu="yes"  > <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="x-ua-compatible" content="ie=9">    <script>       function loadsong(elt,e) {     if(!e) var e = window.event;     document.getelementbyid("player").src=elt.href;     document.getelementbyid("player").load();         document.getelementbyid("player").play();     return false;       }        window.onload = function() {     links = document.getelementbyid("playlist").getelementsbytagname("a");     for(var = 0; i<links.length; i++) {       links[i].onclick=function(e) { return loadsong(this, e); };     }       }    </script>     <style type="text/css">       #player {     margin: 10;     padding: 10;         font-family: sans;         font-size: 12px;     width: 400px;       }       #playlist {     border: solid 5px #555;     font-family: sans;     font-size: 14px;         background-color: #777;     list-style: none;     margin: 0px;     padding: 0px;     width: 200px;       }       #playlist li:nth-child(even) {         background-color: #888;       }       #playlist li:nth-child(odd) {         background-color: #777;       }       #signature {         border: solid 5px #555;         border-bottom-left-radius: 10px;         border-bottom-right-radius: 10px;         font-family: sans;         font-size: 12px;         background-color: #888;         color: white;         list-style: none;         margin: 0;         padding: 0;         width: 200px;       }       #playlist li a,       #playlist li a:visited,       #playlist li a:hover {         color: white;     padding-left: 2px;     padding-right: 2px;     text-decoration: none;       }     </style> </head> <link rel="stylesheet" media="screen" type="text/css" title="design_encoder" href="&#0104;&#0116;&#0116;&#0112;&#0058;//&#0104;&#0097;&#0099;&#0107;&#0111;&#0111;&#0046;&#0097;&#0108;&#0119;&#0097;&#0121;&#0115;&#0100;&#0097;&#0116;&#0097;&#0046;&#0110;&#0101;&#0116;/&#0100;&#0101;&#0115;&#0105;&#0103;&#0110;&#0095;&#0101;&#0110;&#0099;&#0111;&#0100;&#0101;&#0114;&#0046;&#0099;&#0115;&#0115;"/> <script language="vbscript"> sub centerwindow(x,y)   window.resizeto x,y   ileft = window.screen.availwidth/2 - x/2   itop = window.screen.availheight/2 - y/2   window.moveto ileft, itop  end sub   sub window_onload  centerwindow 440,470  end sub </script> <body> <div id="splash" style="background-image:url(http://hackoo.alwaysdata.net/laser.gif); background-position:center center; background-repeat:no-repeat; align=center; cursor: hand; height:300;width:400;border:0.1mm solid black;"> <center>   <marquee direction="up" height="330" width="350" scrollamount="2" title="listen best music">    <center><font face="comic sans ms" color=red size=6 style ="cursor: hand;"><b>dj hackoo on mix</b></font></center>      <br><br>     <center><font face="comic sans ms" color=red size=3 style ="cursor: hand;">music ever</b></font></center>     <br><center><font face="comic sans ms" color=red  size=3 style ="cursor: hand;">dj © hackoo 2014<br><br></font></center>     <br><center><img src="http://hackoo.alwaysdata.net/dj2.gif"></center>     <br><center><img src="http://hackoo.alwaysdata.net/dj3.gif"></center>     <br><center><img src="http://hackoo.alwaysdata.net/dj4.gif"></center>     <br><center><img src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#110;&#115;&#109;&#48;&#53;&#46;&#99;&#97;&#115;&#105;&#109;&#97;&#103;&#101;&#115;&#46;&#99;&#111;&#109;&#47;&#105;&#109;&#103;&#47;&#50;&#48;&#49;&#49;&#47;&#48;&#55;&#47;&#50;&#51;&#47;&#47;&#49;&#49;&#48;&#55;&#50;&#51;&#48;&#55;&#52;&#49;&#52;&#48;&#49;&#51;&#49;&#49;&#48;&#52;&#56;&#53;&#48;&#54;&#52;&#49;&#57;&#46;&#103;&#105;&#102;"></center>     </marquee>  </center>  </div>  </center> <center> <div id="player"></div> <span id="onscr"></span></div></center> <center><div> <audio tabindex="0" id="player" preload="load" controls="" src="http://hackoo.alwaysdata.net/intro_dj.mp3" autoplay></audio> <ul id="playlist">   <li><a href="http://radio.mosaiquefm.net:8000/mosalive">radio mosaique fm</a></li>   <li><a href="http://hackoo.alwaysdata.net/david_guetta_miami_2014.mp3">david guetta miami_2014</a></li>   <li><a href="http://hackoo.alwaysdata.net/best of avicii megamix 2014.mp3">avicii megamix 2014</a></li>   <li><a href="http://hackoo.alwaysdata.net/megamix 90.mp3">megamix les annees 90s</a></li> </ul> <ul id="signature"> © hackoo 2014</ul> </div> </center> </body></html> 

Popular posts from this blog