Okay ... my music player should play but it doesn't for some reason. I've uploaded the music to various places and it works just fine. I've gone over the script over and over and can't identify the problem as I hit the "Play" button, nothing happens.
Is there a place in the admin panel where I can go to check the html tags perhaps? Maybe the tags used are not recognized by the website maybe.
Any ideas would be great -- the mp3. is the menu music from Unreal Tournament 3.
Here's the script:
Is there a place in the admin panel where I can go to check the html tags perhaps? Maybe the tags used are not recognized by the website maybe.
Any ideas would be great -- the mp3. is the menu music from Unreal Tournament 3.
Here's the script:
- Code:
<!-- Multi Music Player Submitted by Amanda Prentice 1998--->
<!-- begin code multi music player -->
<center><br />
(Select A Song)</center><br />
<center><object id="multiplayer" 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">
<select name="playlist" size="1">
<!-- Add song info here... And don't rip-->
<option value="0">UT3:Menu Theme</option>
<option value="1">Add</option>
<option value="2">Add</option>
<option value="3">Add</option>
</select><br />
<input TYPE="BUTTON" NAME="multiplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="multipause" VALUE="pause" OnClick="document.multiplayer.pause(); playstate=2;">
<input TYPE="BUTTON" NAME="multistop" VALUE="stop" OnClick="document.multiplayer.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();
// Add song URLs here
songs[0]="http://www.fileden.com/files/2013/3/31/3431709/01-ut2007-menutheme-1-.mp3";
songs[1]="";
songs[2]="";
songs[3]="";
if (shuffle == 1) {
var randsg = Math.floor(Math.random()*songs.length);
document.multiplayer.FileName = songs[randsg];
document.multiplayer.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.multiplayer.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.multiplayer.FileName = songs[snum];
document.multiplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script></center>
<!-- end code multi music player -->