Jake Chaos
07-28-2005, 06:50 PM
I put the song 'A Place For My Head' on my Xanga page, and can't hear it. My friends can, but they don't use mozilla Firefox. Does firefox have any problem with it, or is it just me?
|
View Full Version : Browser Question. Jake Chaos 07-28-2005, 06:50 PM I put the song 'A Place For My Head' on my Xanga page, and can't hear it. My friends can, but they don't use mozilla Firefox. Does firefox have any problem with it, or is it just me? tokyo bleu 07-28-2005, 08:27 PM What code are you using? Or did you just put the song URL in the Look & Feel's music section? Jake Chaos 07-28-2005, 10:39 PM Well, it's actually more of a media player thing. Here's what I put down. <embed src=http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/16216/17128_1_9_05.asfWIDTH="145" HEIGHT="60" AUTOSTART="TRUE" LOOP="FALSE"> tokyo bleu 07-28-2005, 10:50 PM You should put the song URL in quotation marks. Jake Chaos 07-28-2005, 11:16 PM XD Stupid me. Do I do the same for multiple songs? tokyo bleu 07-28-2005, 11:36 PM If you want multiple songs, it'd be best to use the Darkplayer script or another background script that allows for multiple songs. But yeah, use quotation marks. Jake Chaos 07-29-2005, 12:02 AM I see. May I have a link of it, or you put it down in your next post? It'd make things a lot easier. tokyo bleu 07-29-2005, 02:14 AM http://s7.invisionfree.com/xblog/index.php?showtopic=2963 Jake Chaos 07-29-2005, 03:24 AM =D Thank you so much. Jake Chaos 07-29-2005, 04:31 AM =D Thank you so much. EDIT: Music won't play. D= <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"> <p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#transparent; WIDTH: 150px; COLOR: #33666; font-face: verdana" name="playlist" size="1"> <option value="0">A Place For My Head</option> <option value="1">When I Faint</option> <option value="2">Somewhere I Belong</option> <option value="3">So Numb</option> <option value="4">Breaking The Habit</option> <option value="5">The Papercut</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 = 0; 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://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/16216/17128_1_9_05.asf"; songs[1]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_7_05.asf"; songs[2]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_3_05.asf"; songs[3]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_13_05.asf"; songs[4]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/16216/27461_1_9_05.asf"; songs[5]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/16216/17128_1_1_05.asf"; 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; } //--> pretender 07-29-2005, 04:42 AM you need to add the </script> to the end of your code. Jake Chaos 07-29-2005, 02:55 PM Thank you very much. Chances are I'll be back but *shrugs* Jake Chaos 07-29-2005, 03:13 PM Lo and behold, there's another problem. It still won't play, even when I put script at the end of the message. <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"> <p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#transparent; WIDTH: 150px; COLOR: #33666; font-face: verdana" name="playlist" size="1"> <option value="0">A Place For My Head</option> <option value="1">When I Faint</option> <option value="2">Somewhere I Belong</option> <option value="3">So Numb</option> <option value="4">Breaking The Habit</option> <option value="5">The Papercut</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 = 0; 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://a425.v8384d.c8384.g.vm.ak amaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai. com/8512/wmp/4/16216/17128_1_9_05.asf"; songs[1]="http://a425.v8384d.c8384.g.vm.ak amaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai. com/8512/wmp/5/16216/27461_1_7_05.asf"; songs[2]="http://a425.v8384d.c8384.g.vm.ak amaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai. com/8512/wmp/5/16216/27461_1_3_05.asf"; songs[3]="http://a425.v8384d.c8384.g.vm.ak amaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai. com/8512/wmp/5/16216/27461_1_13_05.asf"; songs[4]="http://a425.v8384d.c8384.g.vm.ak amaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai. com/8512/wmp/5/16216/27461_1_9_05.asf"; songs[5]="http://a425.v8384d.c8384.g.vm.ak amaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai. com/8512/wmp/4/16216/17128_1_1_05.asf"; 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> |