View Full Version : music player color


sugarlicious
09-28-2004, 02:47 PM
heyy. does anyone know how to change the music player color? the button i have is dull. i want a colored one. thanks.

flowergirl
09-29-2004, 08:10 AM
mm.. i dont think you can do anything about that =\. i never seen anyone do that before thats why. i think it depends on your windows version, but im not too sure, about having the dull buttom. with windows xp, its more like.. 3Dish? its nicer though ^^. hope that helps =X

JiNgLeBeLLz77
09-29-2004, 03:04 PM
use this code... you can customize the bolded parts =]

<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:#660066; WIDTH: 180; COLOR: #CCCCFF; font-face: arial; height:174" name="playlist" size="1">
<option value="0">TITLE</option>
</select><br>
<a OnClick="play(document.forms['form'].playlist);"><img src="http://www.yoxio.com/img/77665.jpg" border="0" name="butplay" ></a>
<a OnClick="document.darkplayer.Pause(); playstate=2;"><img src="http://www.yoxio.com/img/77666.jpg" border="0" name="butpause"></a>
<a OnClick="document.darkplayer.Stop(); playstate=2;"><img src="http://www.yoxio.com/img/77667.jpg" border="0" name="butstop" ></a></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]="SONG URL";

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>