Log In · Register

 
 
Closed TopicStart new topic
musical playlists, aren't working
dairymichelle
post Dec 30 2004, 01:11 PM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Dec 2004
Member No: 76,431



I have tried many times,but the musical playlist aren't working
it appear on my site,but no music comes out when i clicked "play"
how can I do?
Can you help me ,pls?
 
xquizit
post Dec 30 2004, 01:21 PM
Post #2


wanderlust personified.
*******

Group: Official Designer
Posts: 7,515
Joined: Jan 2004
Member No: 797



The music playlist scripts do work. Most likely, your music link are either broken or you're not modifying the code correctly.

You should paste the code you're using so that someone here can help you.
 
dairymichelle
post Dec 30 2004, 01:41 PM
Post #3


Newbie
*

Group: Member
Posts: 3
Joined: Dec 2004
Member No: 76,431



SO here is is...pls help,pls check for me,coz I am not really kind on Html,thanks!


<!-- 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">周杰倫 - 開不了口</option>
<option value="1">周杰倫 - 七里香</option>
<option value="2">周杰倫 - 咖啡店</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://cn.stareastnet.com/music/images/2004-6-18-10-46361.rm";
songs[1]="http://2nice533.vip.sina.com/02.mp3";
songs[2]="http://downmusic.v111.com/wma1229ihh4/chinaman/jay/16.wma";

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
post Dec 30 2004, 04:09 PM
Post #4


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



I dont tihnk you can use wma's and rm's. only mp3's i think. =\
 
azn_street_balle...
post Jan 3 2005, 04:17 PM
Post #5


AzN_sTrEeT_BaLlA
*

Group: Member
Posts: 6
Joined: Dec 2004
Member No: 77,263



Ur music has to 5MB or lower in order to play.
 

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