Help - Search - Members - Calendar
Full Version: music playlists
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
nillyvanilly25

how do i put a music playlist on my xanga?
lovescream
http://www.createblog.com/forums/index.php?showtopic=34297
check scripts before posting.
nillyvanilly25
thank you! sorry if i wasted your time!
lovescream
neh. i need a life. happy.gif but you're welcome.
nillyvanilly25
hhmmm...i did what you told me to do. i filled in the appropriate fields in the code...and it's not working.
lovescream
umm.. show me the code of what you edited to. O_O and what's wrong of it not working?
nillyvanilly25
The music won't play...that's how it's not working. I changed the increments correctly in ARTIST NAME - SONG NAME and the song URL when I added songs...is there something else I'm supposed to do?


<!-- 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">Josh Groban - When You Say You Love Me</option>
<option value="1">Josh Groban - You're Still You</option>
<option value="2">Gene Kelly - Singin In the Rain</option>
<option value="3">Sam Roberts - Brother Down</option>
<option value="4">Sam Roberts - Where Have All the Good People Gone?</option>
<option value="5">Sam Roberts - Dead End</option>
<option value="6">Sam Roberts - Don't Walk Away Eileen</option>
<option value="7">Butterfly Boucher - I Can't Make Me</option>
<option value="8">Butterfly Boucher - Another White Dash</option>
<option value="9">Vanessa Carlton - White Houses</option>
<option value="10">Vanessa Carlton - San Fransisco</option>
<option value="11">Vanessa Carlton - Private Radio</option>
<option value="12">Elvis Costello & the Imposters - Monkey to Man</option>
<option value="13">Counting Crows - She Don't Want Nobody Near</option>
<option value="14">Counting Crows - Big Yellow Taxi</option>
<option value="15">Jamie Cullum - These Are The Days</option>
<option value="16">Jamie Cullum - All At Sea</option>
<option value="17">Jamie Cullum - High and Dry</option>
<option value="18">Melissa Etheridge - Breathe</option>
<option value="19">Jack Johnson - Rainbow</option>
<option value="20">Jack Johnson - Even After All</option>
<option value="21">Jack Johnson - Gone</option>
<option value="22">Jack Johnson - Bubble Toes</option>
<option value="23">Keane - Somewhere Only We Know</option>
<option value="24">Keane - Can't Stop Now</option>
<option value="25">Jonny Lang - Red Light</option>
<option value="26">Jonny Lang - Beautiful One</option>
<option value="27">Bob Marley & the Wailers - I Shot the Sheriff</option>
<option value="28">Rooney - Blueside</option>
<option value="29">Rooney - Shakin</option>

</select>
<input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);">
</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();

// Add song URLs here
songs[0]="http://www.theraven452000.addr.com/groban/jg04.rm";
songs[1]="http://www.theraven452000.addr.com/groban/jg01.rm";
songs[2]="http://www.theraven452000.addr.com/rain/rain09.ram";
songs[3]="http://umusic.ca/site/media/samroberts/audio/wewereborninaflame/brotherdown.ram";
songs[4]="http://umusic.ca/site/media/samroberts/audio/wewereborninaflame/wherehavethegoodpeoplegone.ram";
songs[5]="http://umusic.ca/site/media/samroberts/audio/wewereborninaflame/deadend.ram";
songs[6]="http://umusic.ca/site/media/samroberts/audio/wewereborninaflame/dontwalkawayeileen.ram";
songs[7]="http://umusic.ca/site/media/butterflyboucher/audio/flutterby/icantmakeme.ram";
songs[8]="http://umusic.ca/site/media/butterflyboucher/audio/flutterby/anotherwhitedash.ram";
songs[9]="http://umusic.ca/site/media/vanessacarlton/audio/harmonium/whitehouses.ram";
songs[10]="http://umusic.ca/site/media/vanessacarlton/audio/harmonium/sanfrancisco.ram";
songs[11]="http://umusic.ca/site/media/vanessacarlton/audio/harmonium/privateradio.ram";
songs[12]="http://umusic.ca/site/media/elviscostello/audio/thedeliveryman/monkeytoman.ram";
songs[13]="http://umusic.ca/site/media/countingcrows/audio/filmsaboutghosts/shedontwantnobody.ram";
songs[14]="http://umusic.ca/site/media/countingcrows/audio/hardcandy/bigyellowtaxi.ram";
songs[15]="http://umusic.ca/site/media/jamiecullum/audio/twentysomething/thesearethedays.ram";
songs[16]="http://umusic.ca/site/media/jamiecullum/audio/twentysomething/allatsea.ram";
songs[17]="http://umusic.ca/site/media/jamiecullum/audio/twentysomething/highanddry.ram";
songs[18]="http://umusic.ca/site/media/melissaetheridge/audio/lucky/breathe.ram";
songs[19]="http://umusic.ca/site/media/jackjohnson/audio/thickerthanwater/rainbow.ram";
songs[20]="http://umusic.ca/site/media/jackjohnson/audio/thickerthanwater/evenafterall.ram";
songs[21]="http://umusic.ca/site/media/jackjohnson/audio/onandon/gone.ram";
songs[22]="http://umusic.ca/site/media/jackjohnson/audio/flake/jackjohnbubbletoes.ram";
songs[23]="http://umusic.ca/site/media/keane/audio/hopesandfears/somewhereonlyweknow.ram";
songs[24]="http://umusic.ca/site/media/keane/audio/hopesandfears/cantstopnow.ram";
songs[25]="http://umusic.ca/site/media/jonnylang/audio/redlight.ram";
songs[26]="http://umusic.ca/site/media/jonnylang/audio/beautifulone.ram";
songs[27]="http://universalurban.com/site/media/bobmarley/audio/legenddeluxe/ishotthesheriff.ram";
songs[28]="http://umusic.ca/site/media/rooney/audio/rooney/blueside.ram";
songs[29]="http://umusic.ca/site/media/rooney/audio/rooney/shakin.ram";

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 -->
lovescream
wee! josh groban =]
i mean uhh have you ever tried the links as a regular song? Because the links COULD always be dead. let me re-check the code though *has a bad eye*

ummm.. where's a link to your xanga. i wanna press play on every song to see if it works happy.gif
nillyvanilly25
i adore josh groban... biggrin.gif

http://www.xanga.com/home.aspx?user=nillyvanilly25
nillyvanilly25
EDIT:


i mean the links work just as songs. still not working on my xanga.
lovescream
it doesnt work for me either.. i dont know.. what's wrong.. *points at screen* ermm.gif
nillyvanilly25
hmm. thanks anyway. :-(
Jus2s1mp13
Its doesnt work for me either. I think your links is broken. Try finding another links?
xquizit
real audio files (.rm and .ram) do not work with this playlist script. try using music urls from http://cdzlimited.org.
mona lisa
for .rm and .ram, you will need to use the real player music code.
beatlesbabe74
You cant have more then 15 songs. Idk why, but i ran into the problam to and i cant fix it!
xquizit
QUOTE(beatlesbabe74 @ Dec 29 2004, 12:47 PM)
You cant have more then 15 songs. Idk why, but i ran into the problam to and i cant fix it!
*


Actually, you can. I've seen a few people who put 100+ on theirs.
matthufham
QUOTE(beatlesbabe74 @ Dec 29 2004, 11:47 AM)
You cant have more then 15 songs. Idk why, but i ran into the problam to and i cant fix it!
*

i have over 300
KRAZZii N L0VE x
QUOTE(matthufham @ Dec 29 2004, 4:21 PM)
i have over 300
*

do u need a code or somethin for a playlist ? cause i have been in like every chat and stuff and no one is helping... i have like urls and stuff for songs but i dont have the code for a playlist ... can someone PLSZSZSZ help me !!!
xquizit
QUOTE(KRAZZii N L0VE x @ Dec 30 2004, 1:46 PM)
do u need a code or somethin for a playlist ? cause i have been in like every chat and stuff and no one is helping... i have like urls and stuff for songs but i dont have the code for a playlist ... can someone PLSZSZSZ help me !!!
*



Um... have you looked under Xanga Scripts and tried to find one. There are at least 2 playlist scripts there.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.