View Full Version : Darkplayer help plz!!!


princessgrl92
09-26-2004, 04:37 AM
sry for keep on makin threads....but i posted something new but it didnt show it so i made this 1. um.....i tried to put the darkplayer on my site and it works/shows up...but the music duznt play!! did i do this wrong?

this is wut i have now:

<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>
</p>
<form name="form">

<p style="text-align: center">

<select style="FONT-SIZE: 8pt; BACKGROUND:#FFFFF; WIDTH: 160; COLOR: #00000; font-face: comic sans ms; height:174" name="playlist" size="1">

<option value="0">GoOdIeS </option>
<option value="1">CoNfEsSiOnS ll </option>
<option value="2">DiP iT lOw </option>
<option value="3">SlOw MoTiOn </option>
<option value="4">SuNsHiNe </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
^ ^// unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]="http://media.bmgonline.com/jiverecords.com/ciara/audio/02_goodies_main_96.asx"
songs[1]="http://media.bmgonline.com/jiverecords.com/usher/video/confessionsII_300.asx"
songs[2]="http://future.boomspeed.com/layd_shae/dipitlow.wma"
songs[3]=" http://music2.tyfo.com:81/paihb/9tjwy09.ramFORTH SONG URL"
songs[4]=" http://www.sonymusic.com/clips/selection/fu/090738/090738_01_12_full_100.asx "
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>

anyatyler
09-26-2004, 09:43 AM
there might be a chance if you use a browser based on netscape... but as i know, there's nothing wrong with the code

princessgrl92
09-26-2004, 07:55 PM
if i do use a browser based on netscape....iz there nething i can do about it??? plz help me