View Full Version : Can someone tell me whats wrong with this??


shelbi009
06-05-2005, 10:49 PM
it wont work..





<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1, 52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param NAME VALUE>
<param NAME="ShowControls" VALUE="0">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide">
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="True">
</object>
<form name="form">
<center>
<select style="FONT-SIZE: 8pt; BACKGROUND:#FC8C8C; WIDTH: 180; COLOR: #000000; font-face: arial; height:174" name="playlist" size="1">



<option value="0">who i am hates who ive been//relient k</option>


<option value="1">more than useless//relient k</option>


<option value="2">this week the trend//relient k</option>

<option value="3">maintain conciousness//relient k</option>

<option value="4">in love with the 80s//relient k</option>

<option value="5">chapstick, chapped lip...//relient k</option>

<option value="6">mood rings//relient k</option>

<option value="7">getting into you//relient k</option>

<option value="8">the one im waiting for//relient k</option>

<option value="9">high of 75//relient k</option>

<option value="10">i so hate consequenses//relient k</option>

<option value="11">my girls ex-boyfriend//relient k</option>

<option value="12">which to bury...//relient k</option>

<option value="13">let it all out//relient k</option>

<option value="14">life after death & taxes//relient k</option>

<option value="15">when i go down//relient k</option>

<option value="16">falling out //relient k</option>

<option value="17">foward motion//relient k</option>

<option value="18">college kids//relient k</option>

<option value="19">from end to end//relient k</option>


</select>
<input TYPE="BUTTON" NAME="pLaY" VALUE="play" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="pAuSe" VALUE="pause" OnClick="document.darkplayer.pause (); playstate=2;">
<input TYPE="BUTTON" NAME="sToP" VALUE="stop" OnClick="document.darkplayer.stop( ); playstate=2;"></p>
</form><script language="JavaScript">
<!--
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 play
songs=new Array();

songs[0]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_10_05.asf";


songs[1]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_7_05.asf";


songs[2]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_12_05.asf";

songs[3]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_11_05.asf";

songs[4]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_5_05.asf";

songs[5]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_1_05.asf";

songs[6]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_2_05.asf";

songs[7]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_11_05.asf";

songs[8]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_1_05.asf";

songs[9]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_3_05.asf";

songs[10]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_4_05.asf";

songs[11]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_6_05.asf";

songs[12]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_8_05.asf";

songs[13]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_9_05.asf";

songs[14]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_13_05.asf";

songs[15]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/30760_1_14_05.asf";

songs[16]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_3_05.asf";

songs[17]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_4_05.asf";

songs[18]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_6_05.asf";

songs[19]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_14_05.asf";


if (shuffle == 1) {
var randsg = Math.floor(Math.random()* songs.length);
document.darkplayer.FileN ame = 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].value
document.darkplayer.FileN ame = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script>

xS1ll13x
06-06-2005, 12:15 AM
im not sure .. but you can try using this format

<script language="JavaScript"><!--
ctips = new Array(1);
ctips[1]="urlmusiclinktile hea";




tips = new Array(1);

tips[1]="urlmusiclinkhea";



index=Math.floor(Math.random() * tips.length);
document.write("<center><embed src="+tips[index]+" width=0 height=0 align=center autostart=true loop=true controls=smallconsole type=audio/x-pn-realaudio-plugin exts=ra,ram Init fn=load-types mime-types=mime.types></embed></center>")
document.write("<center><font color=#CCCCCC>"+ctips[index]+"</center>")
file://--> </script>

tokyo bleu
06-06-2005, 12:44 AM
But that format isn't for drop-down.

xS1ll13x
06-06-2005, 12:47 AM
lol sry than this one

<!-- begin code provided by createblog.com -->

<object id="darkplayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param NAME VALUE>
<param NAME="ShowControls" VALUE="0">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide">
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="True">
</object>
<form name="form">

<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 200px; COLOR: #CC99CC; font-face: arial" name="playlist" size="1">



<option value="0">musictitlehere</option>



</select><br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.Pause(); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.Stop(); playstate=2;"></p>
</form>
<script language="JavaScript">
<!--
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 play
songs=new Array();
songs[0]="musicurlhere";




if (shuffle == 1) {
var randsg = Math.floor(Math.random()*songs.length);
document.darkplayer.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].value
document.darkplayer.FileName = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script>

<!-- end code provided by createblog.com -->