msuic playlist |
![]() ![]() |
msuic playlist |
Jul 25 2004, 12:49 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 491 Joined: May 2004 Member No: 18,689 |
my{x}angai was wondering if there is a music playlist that would like play the song and wen its done it will play the next one. because mine keeps on playing the same osng unless u pick another song wen your dne
is there such thing? |
|
|
|
Jul 25 2004, 01:55 PM
Post
#2
|
|
![]() Look its... ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 5,817 Joined: Feb 2004 Member No: 4,767 |
paste the code your using here.
|
|
|
|
Jul 25 2004, 02:30 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 310 Joined: May 2004 Member No: 16,028 |
i forget how you do that..can we see the code?
|
|
|
|
Jul 25 2004, 03:04 PM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 34 Joined: Mar 2004 Member No: 7,867 |
This is the code I use to play songs:
CODE <!-- 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="False"> </object> </p> <form name="form"> <p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#FFFFFF; WIDTH: 160; COLOR: #CC9933; font-face: verdana; height:174" name="playlist" size="1"> <option value="0">Select music:</option> <option value="1">Artist - Song</option> <option value="2">Artist - Song</option> <option value="3">Artist - Song</option> <option value="4">Artist - Song</option> <option value="5">Artist - Song</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(3); songs[0]="#" songs[1]="SONG URL" songs[2]="SONG URL" songs[3]="SONG URL" songs[4]="SONG URL" songs[5]="SONG URL" 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 --> This is a drop-down menu for songs. Notice near the top where it says <param NAME="Loop" VALUE="False"> which means it will not repeat the same song. However, it will not play another song either..the site guest will have to choose another song from the list. So he/she will have a choice of what song to play. |
|
|
|
Jul 25 2004, 03:14 PM
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 310 Joined: May 2004 Member No: 16,028 |
-if u are using the dark player code pasted above-
the quote is part of the code as you can see you would have to change the '0' to '1' and it will randomely pick a song when someone opens the page QUOTE script language="JavaScript">
<!-- var playstate = 0; shuffle = 1; // set to 0 to always play first song in list // set to 1 to randomly choose the first song to play |
|
|
|
Jul 25 2004, 03:17 PM
Post
#6
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 310 Joined: May 2004 Member No: 16,028 |
woops...that doesnt answer your question...sorry about that...
im not sure if you can make it go to the next song |
|
|
|
Jul 25 2004, 03:26 PM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 34 Joined: Mar 2004 Member No: 7,867 |
lols
|
|
|
|
Jul 25 2004, 04:07 PM
Post
#8
|
|
|
Member ![]() ![]() Group: Member Posts: 25 Joined: Jul 2004 Member No: 27,567 |
I have been having the same problem, it just keeps playing the same song when I try to click another.
|
|
|
|
Jul 25 2004, 04:16 PM
Post
#9
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 491 Joined: May 2004 Member No: 18,689 |
well im not exactly havign a problem im just askign if any music player could do that. i know that u could choose the song. but like can't it for example play the first song and wen its done go to the next sogn almost like wen u have a media player and load many songs in the library.
so yeah i was wonderign id there is such a thing? |
|
|
|
Jul 29 2004, 04:02 PM
Post
#10
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 34 Joined: Mar 2004 Member No: 7,867 |
when i wanted a playlist..i was guna have like a "media libarary" kinda of what you are talking about. but..hours of searching have left me with nothing but the code i posted above.
i think its still pretty kewl..users get to choose whether they want or dont want to listen to something and choose any song theyd like from the list. however, the maximum number of songs they let me put on this thing was 9, it didnt seem to work when i put 10 or more. hope this helped |
|
|
|
Aug 1 2004, 02:04 AM
Post
#11
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 142 Joined: Jul 2004 Member No: 27,523 |
really? i have 15 songs on my playlist so far
|
|
|
|
Aug 3 2004, 06:15 PM
Post
#12
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Aug 2004 Member No: 36,605 |
QUOTE(farfalla_fille @ Jul 25 2004, 4:07 PM) I have been having the same problem, it just keeps playing the same song when I try to click another. for farfalla_fille .. to change the song, click it on the drop down list then press play seems obvious but i had trouble figuring that out, i used to press 'stop' then switch songs, then play but that just repeated the same song over .. hopefully that helps |
|
|
|
Aug 25 2004, 02:31 AM
Post
#13
|
|
![]() title eh? CP of T.U.R.N: it's how you drift... ![]() ![]() ![]() ![]() Group: Member Posts: 108 Joined: Apr 2004 Member No: 10,547 |
mine wont even play music
|
|
|
|
![]() ![]() |