Log In · Register

 
darkplayer help?
piyoko_analogue
post Jun 10 2007, 04:27 PM
Post #1


Newbie
*

Group: Member
Posts: 6
Joined: Jun 2006
Member No: 424,681



i have a darkplayer music player on my site, and would like to know how to change the width of it. could anyone help me?

here's the code I have
CODE
<!-- 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="0"> // Tell That Mick </option>

<option value="1"> // Dead On Arrival</option>
<option value="2"> // Grand Theft Autumn </option>
<option value="3"> // Saturday</option>
<option value="4"> // Homesick At Spacecamp</option>
<option value="5"> // Sending Postcards </option>
<option value="6"> // Chicago </option>

<option value="7"> // The Pros And Cons</option>
<option value="8"> // Grenade Jumper</option>
<option value="9"> // Calm Before The Storm</option>
<option value="10"> // Reinventing The Wheel </option>
<option value="11"> // The Patron Saint </option>
<option value="12"> // Sugar </option>

<option value="13"> // Of All The Gin Joints </option>
<option value="14"> // Pretty In Punk</option>
<option value="15"> // Yule Shoot </option>
<option value="16"> // The Music Or The Misery</option>
<option value="17"> // Dance, Dance</option>
<option value="18"> // Roxanne</option>

<option value="19"> // Our Lawyer </option>
<option value="20"> // Nobody Puts Baby </option>
<option value="21"> // I've Got A Dark Alley</option>
<option value="22"> // 7 Minutes </option>
<option value="23"> // Sophomore Slump </option>
<option value="24"> // Champagne </option>

<option value="25"> // I Slept With Someone </option>
<option value="26"> // A Little Less Sixteen Candles</option>
<option value="27"> // Get Busy</option>
<option value="28"> // XO</option>
<option value="29"> // Honorable Mention</option>
<option value="30"> // Calm Before The Storm </option>

<option value="31"> //Switchblades </option>
<option value="32"> //Growing Up</option>
<option value="33"> //The World's Not Waiting</option>
<option value="34"> //Short Fast And Load</option>
<option value="35"> //Moving Pictures</option>
<option value="36"> //Parker Lewis </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>

&lt;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://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_1_05.asf";
songs[1]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_2_05.asf";
songs[2]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_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/26513/30857_1_4_05.asf";
songs[4]="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_5_05.asf";
songs[5]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_6_05.asf";
songs[6]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_7_05.asf";
songs[7]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_8_05.asf";
songs[8]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_9_05.asf";
songs[9]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_10_05.asf";
songs[10]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_11_05.asf";
songs[11]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/26513/30857_1_12_05.asf";
songs[12]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/26513/30555_1_1_05.asf";
songs[13]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_2_05.asf";
songs[14]
="http://www.bobbyperurecording.com/mp3%20128/%27Pretty%20In%20Punk%27%20by%20Fall%20Out%20Boy.mp3";
songs[15]
="http://www.smokinmka.com/xmas/Yule_Shoot_Your_Eye_Ou.mp3";
songs[16]
="http://radio.lagfx.net/uploads/Fall_Out_Boy_-_The_Music_Or_the_Misery.mp3";
songs[17]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_3_05.asf";
songs[18]
="http://myfilestash.com/userfiles/kichou/fall%20out%20boy%20-%20Roxanne.wav";
songs[19]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_1_05.asf";
songs[20]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_5_05.asf";
songs[21]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_6_05.asf";
songs[22]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_7_05.asf";
songs[23]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_8_05.asf";
songs[24]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_9_05.asf";
songs[25]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_10_05.asf";
songs[26]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_11_05.asf";
songs[27]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_12_05.asf";
songs[28]
="http://a425.v8384d.c8384.g.vm.akamaistream.net/7/426/8384/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/26513/30859_1_13_05.asf";
songs[29]
="http://www.blogupload.com/27541/01_Honorable_Mention.wma";
songs[30]
="http://www.blogupload.com/27541/02_Calm_Before_the_Storm.wma";
songs[31]
="http://www.blogupload.com/27541/03_Switchblades_and_Infidelity.wma";
songs[32]
="http://www.blogupload.com/24298/05_Growing_Up.wma";
songs[33]
="http://www.blogupload.com/27549/06_The_Worlds_Not_Waiting_(For_Five_Tired_Boys_in_a_Broken_Down_Van).wma";
songs[34]
="http://www.blogupload.com/27549/07_Short,_Fast,_And_Loud.wma";
songs[35]
="http://www.blogupload.com/27549/08_Moving_Pictures.wma";
songs[36]
="http://www.blogupload.com/24298/09_Parker_Lewis_Cant_Lose_(But_Im_Gonna_Give_It_My_Best_Shot).wma";


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 -->
 
 
Start new topic
Replies
*digitalfragrance*
post Jun 11 2007, 09:32 AM
Post #2





Guest






Yeah and there's actually a width="0" already in the code where Alvin mentioned. So just change the "0" to whatever number you want to edit the width.
 

Posts in this topic
Dejiko   darkplayer help?   Jun 10 2007, 04:27 PM
Maestro   On this part of your dark player, add the code tha...   Jun 10 2007, 04:32 PM
Dejiko   thanks, but I couldn't find that in my code.   Jun 10 2007, 04:38 PM
Maestro   I said ADD the code that's in red. So that way...   Jun 10 2007, 04:42 PM
digitalfragrance   Yeah and there's actually a width="0...   Jun 11 2007, 09:32 AM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: