Help - Search - Members - Calendar
Full Version: darkplayer...I NEED HELP!! :(
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
tha_xception
i need help with darkplayer...i kno u guys get this all the time but i put in the song names, i put in the song url...and it doesnt play when i get to my xanga site...heres my code...plz help and tell me wuts wrong or wut i need to do!!btw..its already in my custom header...so yea..thanks!!



tha_xception


ok theres my new code cuz ive been looking around online for how to do it...but even with this...it still doesnt work...what should i do?!?!?!?its making me so mad
xenosaga
you have to remove the spaces between the link and the ";"

edit:// next time just click the edit button and put your codebox there
tha_xception
there isnt a space between them...look





plz help me!!! sad.gif

**edit** ok maybe there is a space....but i took it out and it doesnt work still...plz tell me what to do!!
Kenado
there shouldnt be <br/> tags after the "; in the url part
DragonicFoxWolf
Do you have to have it in your custom header for it to work?

And also here is mine,is there anything wrong with it bc it doesnt play on my xanga site.



<!-- begin code provided by createblog.com --><br />
<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"><br />
<param NAME VALUE><br />
<param NAME="ShowControls" VALUE="0"><br />
<param NAME="ShowStatusBar" VALUE="0"><br />
<param NAME="ShowDisplay" VALUE="0"><br />
<param NAME="DefaultFrame" VALUE="Slide"><br />
<param NAME="Autostart" VALUE="1"><br />
<param NAME="Loop" VALUE="True"><br />
</object><br />
<form name="form"><br />
<br />
<p style="text-align: center"><br />
<select style="FONT-SIZE: 8pt; BACKGROUND:#transparent; WIDTH: 150px; COLOR: #33666; font-face: verdana" name="playlist" size="1"><br />
<option value="0">Sora</option><br />
<option value="1">Melody of Life</option><br />
<option value="2">Rayearth</option><br />
</select><br><br />
<input TYPE="BUTTON" NAME="darkplay" VALUE="Hit it" OnClick="play(document.forms['form'].playlist);"><br />
<input TYPE="BUTTON" NAME="darkpause" VALUE="Pause" OnClick="document.darkplayer.Pause(); playstate=2;"><br />
<input TYPE="BUTTON" NAME="darkstop" VALUE="stop" OnClick="document.darkplayer.Stop(); playstate=2;"></p><br />
</form><br />
<script language="JavaScript"><br />
<!--<br />
var playstate = 1;<br />
shuffle = 1; // set to 0 to always play first song in list<br />
// set to 1 to randomly choose the first song to play<br />
songs=new Array();<br />
songs[0]="http://www.thefilebucket.com/userfiles/greenday1/sora.mp3";<br/>
songs[1]="http://www.mimisk8.com"><img src="http://home.att.net/~mimimasu/mulogo.gif";<br/>songs[2]<center><bgsound
src="http://home.att.net/~mimimasu/mkrwishcantgiveway.mid" loop=infinite hidden="true">";<br/>
<br />
if (shuffle == 1) {<br />
var randsg = Math.floor(Math.random()*songs.length);<br />
document.darkplayer.FileName = songs[randsg];<br />
document.darkplayer.scr = songs[randsg];<br />
document.forms['form'].playlist.options[randsg].selected = true;<br />
}<br />
function play(list) {<br />
if (playstate == 2) {<br />
document.darkplayer.Play();<br />
} else {<br />
var snum = list.options[list.selectedIndex].value<br />
document.darkplayer.FileName = songs[snum];<br />
document.darkplayer.scr = songs[snum];<br />
}<br />
playstate = 1;<br />
}<br />
//--><br />
</script><br />
<br />
<!-- end code provided by createblog.com --><br />
<!-- end code provided by createblog.com -->



my xanga name is DragonicFoxWolf2711
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.