thepunkelephant
11-23-2005, 05:54 PM
<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">
<center>
<select style="FONT-SIZE: 8pt; BACKGROUND:#FC8C8C; WIDTH: 180; COLOR: #000000; font-face: arial; height:174" name="playlist" size="1">
<option value="0">Pirate Song/Relient K</option>
<option value="1">Those Words Are Not Enough/Relient K</option>
<option value="2">Fireproof/Pillar</option>
<option value="1">Something to Believe In/Fm Static</option>
<option value="1">Float On/Modest Mouse</option>
<option value="1">Lifestyles of the Rich and the Famous/Good Charlotte</option>
<option value="1">Immigrant Song/Led Zeppelin</option>
<option value="1">My Humps/Black Eyed Peas</option>
<option value="1">Gold Digger/Kanye West</option>
<option value="1">I‘d do Anything/Simple Plan</option>
<option value="1">Jefferson Air Plane/Relient K</option>
<option value="1">Falling Out/Relient K</option>
<option value="1">Octopus’s Garden/The Beatles</option>
<option value="1">Hello Goodbye/The Beatles</option>
<option value="1">Candy Shop/50 Cent</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=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://digitalsoundplanet.com/Members/000171450_000028781.mp3";
songs[1]="http://www.ctkcharlotte.org/surj/rock/RelientK_Those_Words_Are_Not_En.wax";
songs[2]="http://www.servantsheart.net/revpillar.mp3";
songs[3]="http://www.rcsd.ms/~web44/students05/joeyslatyon_webpage/somethingtobelievein.mp3";
songs[4]="http://media.collegepublisher.com/media/paper333/audio/qc2wlj18.mp3";
songs[5]="http://www.1nightout.com/404/good%20charlotet-lsotraf.mp3";
songs[6]="http://www.eyeonwisconsin.com/_attachments/452344/Eye%20On%20Wisconsin%20Show%204.mp3";
songs[7]="http://vve1vve1.nuclearfallout.net/Black%20Eyed%20Peas%20-05-%20My%20Humps.mp3";
songs[8]="http://home.austin.rr.com/llmusic/music.mp3";
songs[9]="http://gea.com/babylove/mpgs/01%20-%20I'd%20Do%20Anything.mp3";
songs[10]="http://a423.v13336d.c13336.g.vm.akamaistream.net/7/423/13336/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_15_05.asf";
songs[11]="http://a423.v13336d.c13336.g.vm.akamaistream.net/7/423/13336/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_3_05.asf";
songs[12]="http://bulk.nicemice.net:65080/amc/music/songs/beatles/octopuss-garden/clip.mp3";
songs[13]=http://www.beatlecollectors.com/images/Beatles_-_Hello,_Goodbye.mp3;
Songs[14]="http://louppe.laurent.free.fr/zik%20putin%20sa%20va%20metre%203ans/50%20Cent%20feat%";
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>
i put it on the header, and it shows it on the xanga. but nothing plays. whats wrong with it?
please help me
<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">
<center>
<select style="FONT-SIZE: 8pt; BACKGROUND:#FC8C8C; WIDTH: 180; COLOR: #000000; font-face: arial; height:174" name="playlist" size="1">
<option value="0">Pirate Song/Relient K</option>
<option value="1">Those Words Are Not Enough/Relient K</option>
<option value="2">Fireproof/Pillar</option>
<option value="1">Something to Believe In/Fm Static</option>
<option value="1">Float On/Modest Mouse</option>
<option value="1">Lifestyles of the Rich and the Famous/Good Charlotte</option>
<option value="1">Immigrant Song/Led Zeppelin</option>
<option value="1">My Humps/Black Eyed Peas</option>
<option value="1">Gold Digger/Kanye West</option>
<option value="1">I‘d do Anything/Simple Plan</option>
<option value="1">Jefferson Air Plane/Relient K</option>
<option value="1">Falling Out/Relient K</option>
<option value="1">Octopus’s Garden/The Beatles</option>
<option value="1">Hello Goodbye/The Beatles</option>
<option value="1">Candy Shop/50 Cent</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=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://digitalsoundplanet.com/Members/000171450_000028781.mp3";
songs[1]="http://www.ctkcharlotte.org/surj/rock/RelientK_Those_Words_Are_Not_En.wax";
songs[2]="http://www.servantsheart.net/revpillar.mp3";
songs[3]="http://www.rcsd.ms/~web44/students05/joeyslatyon_webpage/somethingtobelievein.mp3";
songs[4]="http://media.collegepublisher.com/media/paper333/audio/qc2wlj18.mp3";
songs[5]="http://www.1nightout.com/404/good%20charlotet-lsotraf.mp3";
songs[6]="http://www.eyeonwisconsin.com/_attachments/452344/Eye%20On%20Wisconsin%20Show%204.mp3";
songs[7]="http://vve1vve1.nuclearfallout.net/Black%20Eyed%20Peas%20-05-%20My%20Humps.mp3";
songs[8]="http://home.austin.rr.com/llmusic/music.mp3";
songs[9]="http://gea.com/babylove/mpgs/01%20-%20I'd%20Do%20Anything.mp3";
songs[10]="http://a423.v13336d.c13336.g.vm.akamaistream.net/7/423/13336/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_15_05.asf";
songs[11]="http://a423.v13336d.c13336.g.vm.akamaistream.net/7/423/13336/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/12595/27670_1_3_05.asf";
songs[12]="http://bulk.nicemice.net:65080/amc/music/songs/beatles/octopuss-garden/clip.mp3";
songs[13]=http://www.beatlecollectors.com/images/Beatles_-_Hello,_Goodbye.mp3;
Songs[14]="http://louppe.laurent.free.fr/zik%20putin%20sa%20va%20metre%203ans/50%20Cent%20feat%";
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>
i put it on the header, and it shows it on the xanga. but nothing plays. whats wrong with it?
please help me