Log In · Register

 
 
Closed TopicStart new topic
music, html trouble
gizzynpoco
post Jul 10 2005, 02:10 AM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Jul 2005
Member No: 169,924



cry.gif i feel so stupid...i had the code for inserting music but i think i ended up copying part of it and mixing it around. i have my layout html code and HUGS html codes besides my music. this is the html code i have and if anybody knows the standard code i dont care if i have to start over...at lease i'll know what the hell im doing. i can fill in the blanks with all the names of hte songs and the urls for the music i just need the standard code for music. THANKS!

<!-- 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:#ffffff; WIDTH: 200; COLOR: #000000; font-face: verdana; height:174" name="playlist" size="1">
<option value="0"> Dancing Queen </option>
<option value="1"> Down With The Sickness </option>
<option value="2"> Suger We're Going Down </option>
<option value="3"> Extraordinary Girl </option>
<option value="4"> Wake Me Up When september Ends </option>
<option value="5"> Ohio Is For Lovers </option>
<option value="6"> Middle Of Nowhere </option>
<option value="7"> Molly's Lips </option>
<option value="8"> This Is Your Life </option>
<option value="9"> Wait And Bleed </option>
<option value="10"> The Freshman </option>
<option value="11"> Kiss My Ass </option>
<option value="12"> Holy Water </option>
<option value="13"> The Thunder Rolls </option>
<option value="14"> Three Mississippi </option>
<option value="15"> Pickup Man </option>
<option value="16"> Every Little Girl's Dream </option>
<option value="17"> Paper Angels </option>
<option value="18"> Tough Little Boys </option>
<option value="19"> Songs About Rain </option>
<option value="20"> Long Slow Beautiful Dance </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://a425.v8384d.c8384.g.vm.akamaistream...3679_1_7_05.asf "
songs[1]=" http://a425.v8384d.c8384.g.vm.akamaistream...2406_1_4_05.asf "
songs[2]=" http://a425.v8384d.c8384.g.vm.akamaistream...0555_1_1_05.asf "
songs[3]=" http://a425.v8384d.c8384.g.vm.akamaistream...9608_1_9_05.asf "
songs[4]=" http://a425.v8384d.c8384.g.vm.akamaistream...608_1_11_05.asf "
songs[5]=" http://a425.v8384d.c8384.g.vm.akamaistream...0741_1_8_05.asf "
songs[6]=" http://a425.v8384d.c8384.g.vm.akamaistream...731_1_10_05.asf "
songs[7]=" http://a425.v8384d.c8384.g.vm.akamaistream...7079_1_6_05.asf "
songs[8]=" http://a425.v8384d.c8384.g.vm.akamaistream...8341_1_2_05.asf "
songs[9]=" http://a425.v8384d.c8384.g.vm.akamaistream...8162_1_4_05.asf "
songs[10]=" http://a425.v8384d.c8384.g.vm.akamaistream...3416_1_7_05.asf "
songs[11]=" http://a425.v8384d.c8384.g.vm.akamaistream...9705_1_4_05.asf "
songs[12]=" http://a425.v8384d.c8384.g.vm.akamaistream...9705_1_6_05.asf "
songs[13]=" http://a425.v8384d.c8384.g.vm.akamaistream...2953_1_5_05.asf "
songs[14]=" http://a425.v8384d.c8384.g.vm.akamaistream...7182_1_2_05.asf "
songs[15]=" http://a425.v8384d.c8384.g.vm.akamaistream...2966_1_4_05.asf "
songs[16]=" http://a425.v8384d.c8384.g.vm.akamaistream...1547_1_9_05.asf "
songs[17]=" http://a425.v8384d.c8384.g.vm.akamaistream...8037_1_5_05.asf "
songs[18]=" http://a425.v8384d.c8384.g.vm.akamaistream..._3_05.asf"
songs[19]=" http://a425.v8384d.c8384.g.vm.akamaistream...8213_1_5_05.asf "
songs[20]=" http://a425.v8384d.c8384.g.vm.akamaistream...675_1_10_05.asf "

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 -->
 
gelionie
post Jul 10 2005, 03:56 AM
Post #2


say maydayism.
*******

Group: Staff Alumni
Posts: 7,447
Joined: Jun 2004
Member No: 26,344



Remove the spaces between the song URLs and the "s.
 

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