marichino_freedom
12-01-2006, 07:02 PM
HTML.....it is evil. i have a code on my xanga to play music, but the buttons dont work....every thing else is set up correctly, but i am confused.....help help, someone help!
this is the code:
<OBJECT id=darkplayer codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 type=application/x-oleobject height=44 standby="Loading Microsoft Windows Media Player componentsactivex/controls/mplayer/en/nsmp2inf.cab#Ver" width=195 classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95></OBJECT>
<FORM name=form>
<P style="TEXT-ALIGN: center"><SELECT style="FONT-SIZE: 8pt; BACKGROUND: #000000; WIDTH: 200px; COLOR: #00ccff; font-face: arial" size=1 name=playlist>
<OPTION value=0 selected>Figlio Perduto</OPTION>
<OPTION value=1>The Council of Elrond (LOTR)</OPTION>
<OPTION value=2>Dante's Prayer</OPTION>
<OPTION value=3>Tell My Ma</OPTION>
<OPTION value=4>The Hills of Connemara</OPTION>
<OPTION value=5>Oceano</OPTION>
<OPTION value=6>My Next 30 Years</OPTION>
<OPTION value=7>Have You Ever</OPTION>
<OPTION value=8>Take This Life</OPTION>
<OPTION value=9>One of These Days</OPTION>
</SELECT><BR><INPUT onclick="play(document.forms['form'].playlist);" type=button value=.pLaY. name=darkplay>
<INPUT onclick="document.darkplayer.Pause(); playstate=2;" type=button value=.PaUsE. name=darkpause>
<INPUT onclick="document.darkplayer.Stop(); playstate=2;" type=button value=.StOp. name=darkstop></P></FORM>
<P><!--var playstate = 1;shuffle = 1;
// set to 0 to always play first song in list
// set to 1 to randomly choose the first song to playsongs=new Array();
songs[0]=http://h1.ripway.com/marichino/12FiglioPerduto.wma";
songs[1]="http://h1.ripway.com/marichino/10TheCouncilofElrondFeaturingAníron(ThemeforAragor nandArwen).wma";
songs[2]="http://h1.ripway.com/marichino/07Track7.wma";
songs[3]="http://h1.ripway.com/marichino/tellmyma~therankinfamily.mp3";
songs[4]="http://h
.ripway.com/marichino/Various_Artists_The_Best_Irish_Party_Ever_14_Hills _Of_Connemara__Tom_Donovan.mp3";
songs[5]="http://h1.ripway.com/marichino/01Oceano.wma";
songs[6]="http://h1.ripway.com/marichino/mynext30years~timmcgraw.mp3";
songs[7]="http://h1.ripway.com/marichino/09HaveYouEver!.wma";
songs[8]="http://h1.ripway.com/marichino/08TakeThisLife.wma";
songs[9]="http://h1.ripway.com/marichino/oneofthesedays~timmcgraw.mp3";
if (shuffle == 1) {var randsg = Math.floor(Math.random()*songs.length);document.da rkplayer.FileName = songs[randsg];document.darkplayer.scr = songs[randsg];document.forms['form'].playlist.options[randsg].selected = true;}function play(list) {if (playstate == 2) {document.darkplayer.Play();} else {var snum = list.options[list.selectedIndex].valuedocument.darkplayer.FileName = songs[snum];document.darkplayer.scr = songs[snum];}playstate = 1;}
//--></P>
this is the code:
<OBJECT id=darkplayer codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 type=application/x-oleobject height=44 standby="Loading Microsoft Windows Media Player componentsactivex/controls/mplayer/en/nsmp2inf.cab#Ver" width=195 classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95></OBJECT>
<FORM name=form>
<P style="TEXT-ALIGN: center"><SELECT style="FONT-SIZE: 8pt; BACKGROUND: #000000; WIDTH: 200px; COLOR: #00ccff; font-face: arial" size=1 name=playlist>
<OPTION value=0 selected>Figlio Perduto</OPTION>
<OPTION value=1>The Council of Elrond (LOTR)</OPTION>
<OPTION value=2>Dante's Prayer</OPTION>
<OPTION value=3>Tell My Ma</OPTION>
<OPTION value=4>The Hills of Connemara</OPTION>
<OPTION value=5>Oceano</OPTION>
<OPTION value=6>My Next 30 Years</OPTION>
<OPTION value=7>Have You Ever</OPTION>
<OPTION value=8>Take This Life</OPTION>
<OPTION value=9>One of These Days</OPTION>
</SELECT><BR><INPUT onclick="play(document.forms['form'].playlist);" type=button value=.pLaY. name=darkplay>
<INPUT onclick="document.darkplayer.Pause(); playstate=2;" type=button value=.PaUsE. name=darkpause>
<INPUT onclick="document.darkplayer.Stop(); playstate=2;" type=button value=.StOp. name=darkstop></P></FORM>
<P><!--var playstate = 1;shuffle = 1;
// set to 0 to always play first song in list
// set to 1 to randomly choose the first song to playsongs=new Array();
songs[0]=http://h1.ripway.com/marichino/12FiglioPerduto.wma";
songs[1]="http://h1.ripway.com/marichino/10TheCouncilofElrondFeaturingAníron(ThemeforAragor nandArwen).wma";
songs[2]="http://h1.ripway.com/marichino/07Track7.wma";
songs[3]="http://h1.ripway.com/marichino/tellmyma~therankinfamily.mp3";
songs[4]="http://h
.ripway.com/marichino/Various_Artists_The_Best_Irish_Party_Ever_14_Hills _Of_Connemara__Tom_Donovan.mp3";
songs[5]="http://h1.ripway.com/marichino/01Oceano.wma";
songs[6]="http://h1.ripway.com/marichino/mynext30years~timmcgraw.mp3";
songs[7]="http://h1.ripway.com/marichino/09HaveYouEver!.wma";
songs[8]="http://h1.ripway.com/marichino/08TakeThisLife.wma";
songs[9]="http://h1.ripway.com/marichino/oneofthesedays~timmcgraw.mp3";
if (shuffle == 1) {var randsg = Math.floor(Math.random()*songs.length);document.da rkplayer.FileName = songs[randsg];document.darkplayer.scr = songs[randsg];document.forms['form'].playlist.options[randsg].selected = true;}function play(list) {if (playstate == 2) {document.darkplayer.Play();} else {var snum = list.options[list.selectedIndex].valuedocument.darkplayer.FileName = songs[snum];document.darkplayer.scr = songs[snum];}playstate = 1;}
//--></P>