Click to See Complete Forum and Search --> : How to play the next song in my playlist?


Cyntek
12-17-2006, 03:06 AM
Hello everyone, I know this is a complete and utter less questions you all have already heard of. I am new to this codes stuff and I would like to learn about it. The only way to learn is by asking Questions. I am having little trouble with this peace of code that i am trying to embed into my page. Here is the peace of code that i am using with some streaming media that i have uploaded.



<embed src= "http://www.fileden.com/files/2006/12/16/519116/10%20Years%20-%20Seven.mp3 /http://www.fileden.com/files/2006/12/16/519116/10%20Years-Half%20Life%282%29.mp3" autostart="true"loop="True" volume="50%" height="0" width="0"></embed>


My question is how can I play the next song without looping the first song. It keeps looping to the first song. any suggestions would be appreciated.

_Aerospace_Eng_
12-17-2006, 10:29 PM
You would need to make a playlist of some type. Where are you putting the player? Myspace or something similar?

Cyntek
12-18-2006, 12:39 AM
I have created the playlist and I am using it for myspace . I uploaded it to a web server but for some reason it will not go to the next song. This is what i have uploade just to start out with to see if it will work.

http://download-v5.streamload.com/4rI_wG9V~3y8L~E1fu~oKsn~OglvlYNvF8TK/cyntek909/Hosted/10%20Years%20-%20Frailty.mp3?action=stream
http://download-v5.streamload.com/pXLWb9Yw~5e60~kmGL~k1PM~H32sB1Dbv-f1/cyntek909/Hosted/10%20Years%20-%20Seven.mp3?action=stream
http://download-v5.streamload.com/Yh3fnOwf~5N81~Fa6C~nYxO~BTreD8XQ8ggI/cyntek909/Hosted/10%20Years%20-%20Through%20the%20Iris.MP3?action=stream

with the coed that i am using:


<embed src= "" autostart="true"loop="True" volume="50%" height="0" width="0"></embed>

_Aerospace_Eng_
12-18-2006, 12:44 AM
What did you use to create your playlist? Those urls don't even work.

Cyntek
12-18-2006, 12:54 AM
i used this web site to host my files. http://www.mediamax.com

Cyntek
12-18-2006, 12:55 AM
At this moment in time...I believe there doing some kind of maintance on the servers so there down right now.

_Aerospace_Eng_
12-18-2006, 12:57 AM
Okay but you didn't seem to actually make a playlist. You just uploaded files. The syntax you are using is incorrect. The most common playlist file is an m3u playlist. Do some searching, there is a lot of info on how to create them.

Cyntek
12-18-2006, 01:01 AM
okay this is how i made a playlist.....

1. pick the songs to add to your list.
2. save them as .m3u extension.
3. upload the list to a web server.

are these the correct way of doing so?

im using windows media 11

_Aerospace_Eng_
12-18-2006, 01:06 AM
Well kind of. You don't save each song file as .m3u.

playlist.m3u
urltosong1.mp3
urltosong2.mp3
urltosong3.mp3

Upload that to a web server. Then change the src in the embed to match the url of the m3u playlist.

Cyntek
12-18-2006, 01:08 AM
okay thanks aero. I will do some research and google it ...thanks for the info. you've been alot of help.

Cyntek
12-18-2006, 09:35 PM
Okay I got the playlist running, Now i have another question. Is it possible to have the playlist play random songs evertime someone accesses the webpage. If anyone has a solution to this I would really appreciate it. This does not stop me from doing the research or just googling it. Thanks for your support.

_Aerospace_Eng_
12-18-2006, 10:48 PM
I think you are expecting too much from WMP. I suggest taking a look at the flash mp3 player found here: http://www.jeroenwijering.com/?item=Flash+Mp3+Player

A tutorial on how to put it on myspace can be found here: http://www.mygen.co.uk/index.php?page=tutorials&section=flashplayer3

Cyntek
12-19-2006, 08:36 PM
I think you are expecting too much from WMP. I suggest taking a look at the flash mp3 player found here: http://www.jeroenwijering.com/?item=Flash+Mp3+Player

A tutorial on how to put it on myspace can be found here: http://www.mygen.co.uk/index.php?page=tutorials&section=flashplayer3


I thought WMP would have that option of doing random playlist when first accessing any webpage for the first time.