View Full Version : player on my webpage...


Redkaven
05-15-2003, 01:52 AM
I use the following code to show a player on my webpage..

<object id="MediaPlayer" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="AutoStart" value="False">
<param name="AutoRewind" value="True">
<param name="Filename" value="player/aartmusic_toetotoe.mp3">
<param name="ShowControls" value="True">
</object>


Is there anything I can add to that to make it play more than one song? And a way I can select what song I wanna hear?

BTW, will that player only work on IE? Or will it work on opera and netscape too?

Thanks in advance,

-Redkaven

amicus
05-15-2003, 02:09 AM
the code will work if the user has media player installed. if you want to play multiple songs then you'll need to use a playlist.

create a new file and give it a '.m3u' extension. inside the file just give the path and file name of the songs.

playList.m3u
/songs/mysong.mp3
/songs/mysong2.mp3

change one of your parameters like below
<param name="Filename" value="/songs/playList.m3u">