firefox music, i can't get my music player to work with firefox. |
![]() ![]() |
firefox music, i can't get my music player to work with firefox. |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Jan 2005 Member No: 81,376 ![]() |
first of all i can't get my music to work with firefox. and even with internet explorer the music doesn't really work.
here's my code <!-- begin code provided by createblog.com --> <!-- begin code provided by createblog.com --> <!-- begin code provided by createblog.com --> <!-- begin code provided by createblog.com --> <!-- begin code provided by createblog.com --> <!-- 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"> <select name="playlist" size="1"> <!-- Add song info here --> <option value="21"></option> <option value="22"></option> <option value="23"></option> <option value="24"></option> <option value="25"></option> <option value="26"></option> <option value="27"></option> <option value="28"></option> <option value="29"></option> <option value="30"></option> <option value="31"></option> <option value="32"></option> <option value="33"></option> <option value="34"></option> <option value="35"></option> <option value="36"></option> <option value="37"></option> <option value="38"></option> <option value="39"></option> <option value="40"></option> <option value="41"></option> <option value="42"></option> <option value="43"></option> <option value="44"></option> <option value="45"></option> <option value="46"></option> <option value="47"></option> <option value="48"></option> <option value="49"></option> <option value="50"></option> <option value="51"></option> <option value="52"></option> <option value="53"></option> <option value="54"></option> <option value="55"></option> <option value="56"></option> <option value="57"></option> <option value="58"></option> <option value="59"></option> <option value="60"></option> <option value="61"></option> <option value="62"></option> <option value="63"></option> <option value="64"></option> <option value="65"></option> <option value="66"></option> </select> <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=3;"> </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[21]=""; songs[22]=""; songs[23]=""; songs[24]=""; songs[25]=""; songs[26]=""; songs[27]=""; songs[28]=""; songs[29]=""; songs[30]=""; songs[31]=""; songs[32]=""; songs[33]=""; songs[34]=""; songs[35]=""; songs[36]=""; songs[37]=""; songs[38]=""; songs[39]=""; songs[40]=""; songs[41]=""; songs[42]=""; songs[43]=""; songs[44]=""; songs[45]=""; songs[46]=""; songs[47]=""; songs[48]=""; songs[49]=""; songs[50]=""; songs[51]=""; songs[52]=""; songs[53]=""; songs[54]=""; songs[55]=""; songs[56]=""; songs[57]=""; songs[58]=""; songs[59]=""; songs[60]=""; songs[61]=""; songs[62]=""; songs[63]=""; songs[64]=""; songs[65]=""; songs[66]=""; 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 --> <!-- end code provided by createblog.com --> <!-- end code provided by createblog.com --> <!-- end code provided by createblog.com --> <!-- end code provided by createblog.com --> <!-- end code provided by createblog.com --> with the song names and urls i took out a bunch of stuff. but i don't think that's what's causing the problem. can anyone help me out? |
|
|
![]()
Post
#2
|
|
![]() PROPERTY OF: GREEN DAY ![]() ![]() ![]() Group: Member Posts: 40 Joined: Jul 2006 Member No: 439,861 ![]() |
WELL iS THAT THE CODE MADE SPECiFiCALLY FOR FiREFOX?....
B/C YOU CANT USE A REGULAR MUSiC PLAYER FOR FiREFOX.... i THiNK i REMEMBER WHERE i SAW THE RiGHT CODE.... iLL TRY TO LOOK FOR iT FOR YOU..... HERE A FOUND A THREAD HERE iN THE FORUM..... >>>FiREFOX MUSiC PLAYER |
|
|
*digital.fragrance* |
![]()
Post
#3
|
Guest ![]() |
I noticed that you don't have any music inputted. That would do it... unless you're just posting the code.
So, I suggest webjay.org - a flash-enabled music player compatible in almost ALL browsers, including IE and Firefox. The Myspace code it provides functions in Xanga as well ![]() I use it on my websites. |
|
|
![]() ![]() |