Log In · Register

 
Help!!! with music player!, My music won't play
Wonderwooman18
post Mar 4 2005, 11:46 PM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Mar 2005
Member No: 109,421



I filled in all the information like the site told me to but the music won't play when i put it in my xanga! Can anyone help me please?? sad.gif

[CODEBOX]<object id="darkplayer" codeBase="http://activex.microsoft.com/active x/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="width: 300px; height: 20px; background-color: #91D0FF; color: #000000; font-size: 10pt; font-family: Rix, sans-serif; border: #007BF7 1px solid;" name="playlist" size="1">
<option value="0"> Jesse McCartney- Beautiful Soul </option>
<option value="1"> Bonnie McKee- Somebody </option>
<option value="2"> Bonnie McKee- Trouble </option>
<option value="3"> Kelly Clarkson- Behind These Hazel Eyes </option>
<option value="4"> Brooke Valentine- Girl Fight </option>
</select><br>
<input style="width: 40px; height: 20px; background-color: #91D0FF; color: #000000; font-size: 6pt; font-family: Rix, sans-serif; border: #007BF7 1px solid;" TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
<input style="width: 40px; height: 20px; background-color: #91D0FF; color: #000000; font-size: 6pt; font-family: Rix, sans-serif; border: #007BF7 1px solid;" TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.Pause (); playstate=2;">
<input style="width: 40px; height: 20px; background-color: #91D0FF; color: #000000; font-size: 6pt; font-family: Rix, sans-serif; border: #007BF7 1px solid;" 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]=" http://a420.v8383d.c8383.g.vm.akamaistream...9920_1_2_04.asf ";
songs[1]=" http://www.warnerreprise.com/asx/bonniemck...56-a.asx";
songs[2]=" http://www.warnerreprise.com/asx/bonniemck...56-v.asx";
songs[3]=" http://a420.v8383d.c8383.g.vm.akamaistream...3_04.asf";
songs[4]=" http://boss.streamos.com/wmedia/virg001/br...rginsite";
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>
 
 
Start new topic
Replies
Allietwin1234
post Mar 5 2005, 12:41 AM
Post #2


Member
**

Group: Member
Posts: 27
Joined: Jul 2004
Member No: 33,768



Okay rolleyes.gif whistling.gif I redid the whole code for you and made it look just like you wanted it too so here you go it works and i tried it out on my other xanga

 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: