->
I'm sure most of you know how to create music streaming. If you don't, the following code might help you in putting up music streaming on you website.
Code:
<OBJECT ID="MediaPlayer1"
CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#
Version=5,1,52,701" STANDBY="Loading Microsoft Windows® Media Player components..."
TYPE="application/x-oleobject" width="280" height="46">
<param name="fileName" value="http://www.domain.com/music/music.mp3">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-300">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src="http://www.domain.com/music/music.mp3" name="MediaPlayer1"
width=280 height=46 autostart=1 showcontrols=1 volume=-300>
</OBJECT>
You may need to change few parameters to suit your need. First and foremost you need to change the URL of the mp3 to the directory where it resides. You can set autostart=0 if you don't want your music to automatically start and change the volume parameter accordingly.
Now I'll show you how to create multiple streaming music.
1. Upload few songs of your interest on the same directory in a server.
2. Create a m3u file, say, you name it playlist1.m3u by using any text editor of your preference (I prefer to use notepad).
3. The list of the songs may look like the following
http://www.domain.com/music/song1.mp3
http://www.domain.com/music/song2.mp3
http://www.domain.com/music/song3.mp3
assuming http://www.domain.com is your domain where the songs are located. Copy all the songs list into m3u file and save it.
4. Now, you can change the above code by replacing the mp3 URL with the m3u URL and you are done.
There's no limit on number of songs you want to include in a playlist. Each song is buffered and streamed individually and each song will play one after the other without user intervention. I hope you find this post useful to setup a streaming music on your website.
Note: m3u file can be used to stream a single song or multiple songs
Technorati Tags: tutorial music streaming, mp3

