HOW TO MAKE A PLAYLIST
copy and paste this into either your Custom Header (then the player will appear at the top of your page), or in the Website Stats (then the player will be at the bottom of the page, like it is on this site)
note the comments at the bottom, if you do not understand what to do.
<!--Provided by http://netsirk.proboards26.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">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 150px; COLOR: #ffffff; font-face: arial" name="playlist" size="1">
<option value="0">Song Name Here</option>
<option value="1">Song Name Here</option>
<option value="2">Song Name Here</option>
<option value="3">Song Name Here</option>
<option value="4">Song Name Here</option>
<option value="5">Song Name Here</option>
</select>
<input TYPE="BUTTON" NAME="PLAY" VALUE="play" onfiltered="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="PAUSE" VALUE="pause" onfiltered="document.darkplayer.Pause(); playstate=2;">
<input TYPE="BUTTON" NAME="STOP" VALUE="stop" onfiltered="document.darkplayer.Stop(); playstate=2;"></p>
</form>
<cursive 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 Here"
songs[1]="Song Url Here"
songs[2]="Song Url Here"
songs[3]="Song Url Here"
songs[4]="Song Url Here"
songs[5]="Song Url Here"
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>
<!--Provided by http://netsirk.proboards26.com-->
NOTES:
the bolded parts are the parts that you can or need to change.
CAN CHANGE
now, for:
<p style="text-align: center">
to have it on the LEFT side, have it be <p style="text-align: left">
to have it on the RIGHT side, have it be <p style="text-align: right">
the reason i highlighted this ....
<select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 150px; COLOR: #ffffff; font-face: arial" name="playlist" size="1">
for
"FONT-SIZE: 8pt;
change 8pt it another size (like 9pt), making it larger, and 7pt, making it smaller
for
BACKGROUND:#000000;
change 000000 (white) to any color you want. use this link: http://edit.xanga.com/claf.aspx?preview=1#
or use this:
for
WIDTH: 150px
increase the px (like to 160px) to make the width of the player bigger.
decrease the px (like to 140px) to make the width of the player smaller.

(courtesy of http://www.xanga.com/home.aspx?user=KeLsEyS__lAyOutS)
this can be used for the BACKGROUND (the background color of the player), or the COLOR (the color of the font in the player)
font-face: i think that part is self-explainitory.
for instance, change the name, like:
font-face: arial"
to
font-face: tahoma"
and i think size is self-explanitory.
FOR THIS SECTION, OVERALL:
for instance, on our site, this is ours:
<select
style="FONT-SIZE: 8pt; BACKGROUND:#ff0000; WIDTH: 160px; COLOR:
#ffffff; font-face: arial" name="playlist" size="1">
now, the reason i hightlighted this part....
<input TYPE="BUTTON" NAME="PLAY" VALUE="play" onfiltered="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="PAUSE" VALUE="pause" onfiltered="document.darkplayer.Pause(); playstate=2;">
<input TYPE="BUTTON" NAME="STOP" VALUE="stop" onfiltered="document.darkplayer.Stop(); playstate=2;"></p>
</form>
<input TYPE="BUTTON" NAME="PLAY" VALUE="play" onfiltered="play(document.forms['form'].playlist);">
this means that instead of PLAY you can have written on the player, "Go", or anything you would want.
<input TYPE="BUTTON" NAME="PLAY" VALUE="Go" onfiltered="play(document.forms['form'].playlist);">
this is the same for the parts that say "stop" and "pause"
(this is optional, if you want it to be regular- like it is on this site- just leave it alone.)
NEED TO REPLACE
the parts that you need to replace are:
Song Name Here
and
Song Url Here
with Song Name Here, do as such
example:
<option value="0">The Reason</option>
<option value="1">Here's To The Night</option>
<option value="2">Boulevard of Broken Dreams</option>
<option value="3">Welcome To My Life</option>
<option value="4">Just Lose It</option>
<option value="5">Bohemian Rhapsody</option>
and for Song Url Here, do as such.
example:
songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/21164/28621_1_8_04.asf"
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/787/2908_1_5_04.asf"
songs[2]="http://www.warnermusic.com.au/greenday/americanidiot/brokendreams.asx"
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/21722/30225_1_2_04.asf"
songs[4]="http://boss.streamos.com/wmedia/interscope/eminem/encore/audio/justloseit/96_justloseit.asx"
songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/95/7410_1_1_04.asf"
Chatboard (0)