Log In · Register

 
 
Closed TopicStart new topic
Music Playlist, About the Dropdown
HoneyKiss37
post Dec 11 2005, 02:00 PM
Post #1


Newbie
*

Group: Member
Posts: 4
Joined: Dec 2005
Member No: 320,635



Hey, I'm Ashley and I just joined and all. But other than that I've had xanga for a long time. Well, here is my question:

Okay, I just filled up my 35 song drop down code and I posted it into my code. I don't have Xanga Premium though. But I saved my changes and none of the music plays at all. I've tried two different music codes and neither have worked. I tested the music codes, all of them over and over again and they all work. Maybe you all could try and help me, only if you want... here is the code I am using.








Please help if you can. Thanks :)



Au Revoir Amours~<3

Code box loves you.

This post has been edited by fishcake-y: Dec 11 2005, 02:38 PM
 
talcumpowder
post Dec 11 2005, 02:39 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



First off, remove the spaces after the URL's. Second, some of them don't work.
[ http://www.createblog.com/forums/index.php?showtopic=112420 ]
 
HoneyKiss37
post Dec 12 2005, 04:26 PM
Post #3


Newbie
*

Group: Member
Posts: 4
Joined: Dec 2005
Member No: 320,635



Okay, I removed the spaces after the codes and I took out the music codes that aren't working. So, now I'm stuck with an Xanga whose' playlist isn't working still. Now this is the Correct Code(hopefully) that I'm using.

<!-- begin code provided by createblog.com -->
<!-- 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>
</p>
<form name="form">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:; WIDTH: 200; COLOR: ; font-face: verdana; height:174" name="playlist" size="1">
<option value="0"> Seven Nation Army </option>
<option value="1"> Dirty Little Secret </option>
<option value="2"> Happy Ending </option>
<option value="3"> Just Want You To Know </option>
<option value="4"> She Said </option>
<option value="5"> Run It </option>
<option value="6"> Just The Girl </option>
<option value="7"> Laffy Taffy </option>
<option value="8"> Lose Yourself </option>
<option value="9"> Bring Me To Life </option>
<option value="10"> More Than Words </option>
<option value="11"> Beat Of My Heart </option>
<option value="12"> You Sexy Thing </option>
<option value="13"> She's No You</option>
<option value="14"> Because You Live </option>
<option value="15"> Beautiful Soul </option>
<option value="16"> Confessions Of A Broken Heart </option>
<option value="17"> Hung Up </option>
<option value="18"> HollyWood </option>
<option value="19"> Like A Virgin </option>
<option value="20"> God Is A DJ </option>
<option value="21"> Stick With You </option>
<option value="22"> We Be Burnin` </option>
<option value="23"> No Scrubs </option>
<option value="24"> Stars </option>
<option value="25"> Dare You To Move </option>
<option value="26"> Ballroom Blitz </option>
<option value="27"> Winter Wonderland </option>
<option value="28"> Jinglebell Rock </option>
<option value="29"> Rudolph </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>


<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
// www.xanga.com/smartypants91780
// unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]=" http://anne.barriere.free.fr/mp3/THE%20WHI...0ARMY.mp3"
songs[1]=" http://cdzinc.com/1/ra/def/allamericanreje...et_umg.rm"
songs[2]=" http://cdzinc.com/1/ra/abc/avrillavigne_il...dingla.rm"
songs[3]=" http://cdzinc.com/1/ra/abc/backstreetboys_..._lp_02.rm"
songs[4]=" http://cdzinc.com/1/ra/abc/brielarson_fina...fpe_09.rm"
songs[5]=" http://cdzinc.com/1/ra/abc/chrisbrown_runit.rm"
songs[6]=" http://cdzinc.com/1/ra/def/theclickfive_ju...rl_wmg.rm"
songs[7]=" http://cdzinc.com/1/ra/def/d4l_downforlife_lp_02.rm"
songs[8]=" http://cdzinc.com/1/ra/def/eminem_loseyour...ental.ram"
songs[9]=" http://cdzinc.com/1/ra/def/evanescence_bri...tolife.rm"
songs[10]=" http://cdzinc.com/1/ra/def/frankiej_morethanwords.rm"
songs[11]=" http://cdzinc.com/1/ra/ghi/hilaryduff_beat...lywood.rm"
songs[12]=" http://cdzinc.com/1/ra/ghi/hotchocolate_yo...thing.ram"
songs[13]=" http://cdzinc.com/1/ra/jkl/jessemccartney_..._lp_05.rm"
songs[14]=" http://cdzinc.com/1/ra/jkl/jessemccartney_..._lp_03.rm"
songs[15]=" http://cdzinc.com/1/ra/jkl/jessemccartney_..._lp_11.rm"
songs[16]=" http://cdzinc.com/1/ra/jkl/lindsaylohan_co...j498hf.rm"
songs[17]=" http://cdzinc.com/1/ra/mno/madonna_hungup_wmg.rm"
songs[18]=" http://cdzinc.com/1/ra/mno/madonna_hollywood.rm"
songs[19]=" http://cdzinc.com/1/ra/mno/p246328.ra"
songs[20]=" http://cdzinc.com/1/ra/pqr/pink_g0d1s4dj.rm"
songs[21]=" http://cdzinc.com/1/ra/def/pussycatdolls_pcd_lp_04.rm"
songs[22]=" http://cdzinc.com/1/ra/stu/seanpaul_webeburnin_wmg.rm"
songs[23]=" http://cdzinc.com/1/ra/stu/tlc_noscrubs.ram"
songs[24]=" http://cdzinc.com/1/ra/stu/switchfoot_stars.ram"
songs[25]=" http://cdzinc.com/1/ra/stu/switchfoot_dareyoutomove.rm"
songs[26]=" http://cdzinc.com/1/ra/stu/sweet_ballroomblitz.ram"
songs[27]=" http://jwpepper.com/ram/3301236.ram"
songs[28]=" http://classicmusclecars.com/audio/jinglebellrock.mp3"
songs[29]=" http://www.beggarsbanquetonline.com/rudolph.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 -->
<!-- end code provided by createblog.com -->



Hopefully I can find out what is wrong soon. =/
 
talcumpowder
post Dec 12 2005, 06:36 PM
Post #4


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



[ http://www.createblog.com/forums/index.php?showtopic=112420 ]
-.-u If you had bothered to check.
 
HoneyKiss37
post Dec 12 2005, 07:47 PM
Post #5


Newbie
*

Group: Member
Posts: 4
Joined: Dec 2005
Member No: 320,635



I did infact check though and then got confused. But I figured out what it meant and I fixed my code. >.< I can't believe this still isn't working. I guess I should just give up on this. Oh well. Thanks for your help anyway.
 
Kenado
post Dec 12 2005, 07:53 PM
Post #6


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



Uhhh a majority of your links are not compatible like the ones that are .ram .rm those won't work with the playlist and also you forgot the semi-colon after all your lins suppose to looks like this.

CODE
songs[#]="BLAHBLAHBLAH.wma";
 
xangaxwhorex
post Dec 14 2005, 07:05 AM
Post #7


Newbie
*

Group: Member
Posts: 1
Joined: Dec 2005
Member No: 323,049



uh my guess is... for example your song url is "sdfffd.sds", I'm pretty sure you have to add ";" after the last ". like "sdfffd.sds" would be "sdffd.sds";

Just have a go.Im not sure just my best guess. _unsure.gif
 
Kenado
post Dec 14 2005, 04:17 PM
Post #8


Senior Member
*******

Group: Member
Posts: 3,551
Joined: Feb 2005
Member No: 102,857



^That's what I said please do not repeat information.
 

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