MP3 Music Player Script Problem
2 posters
Page 1 of 1
MP3 Music Player Script Problem
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 -->
Rouge- Forumember
- Posts : 120
Reputation : 9
Language : English
Location : USA-Ohio
Re: MP3 Music Player Script Problem
http://www.fileden.com/files/2013/3/31/3431709/01-ut2007-menutheme-1-.mp3
That File itself does not exist.
That File itself does not exist.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: MP3 Music Player Script Problem
Hi there ... I don't understand what it means when you say file doesn't exist? Is it that it isn't playing because I'm listening to it now. I just uploaded it to fileden. Hmmmm ..is it the .mp3 itself. It's playing for me!
Rouge- Forumember
- Posts : 120
Reputation : 9
Language : English
Location : USA-Ohio
Re: MP3 Music Player Script Problem
http://awesomescreenshot.com/0b5141xc26
I get that when i open the URL.
Also, i had doubts if the file would play or not since fileden is a download site.
You could generally upload the file to a webhost like bravenet.com
The URL you get there after uploading, will definitely work.
I get that when i open the URL.
Also, i had doubts if the file would play or not since fileden is a download site.
You could generally upload the file to a webhost like bravenet.com
The URL you get there after uploading, will definitely work.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: MP3 Music Player Script Problem
Thank you, Sanket ... you reign supreme!!
Last edited by Rouge on March 31st 2013, 7:24 pm; edited 1 time in total
Rouge- Forumember
- Posts : 120
Reputation : 9
Language : English
Location : USA-Ohio
Re: MP3 Music Player Script Problem
Lol.
Is this solved?
Is this solved?
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: MP3 Music Player Script Problem
Solved to the Maximum ... without a doubt!!!
Rouge- Forumember
- Posts : 120
Reputation : 9
Language : English
Location : USA-Ohio
Re: MP3 Music Player Script Problem
Topic Solved & Locked |
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum