Playing Internet Broadcast through Website

Integrating your internet broadcast into your web site is simple and easy.

.PLS file format

One of the most common file formats is the .pls file. This file format is automatically installed when Winamp, iTunes, VLC player, and several other players are installed. When a person clicks on a .pls file on a website, the stream should automatically load into a compatiable player.

All you need to do is copy/paste the code into a blank text file, change “http://192.168.1.1:8000″ to point to your Shoutcast server, upload it to your web site, and your finished!

[playlist]
NumberOfEntries=1

File1=http://192.168.1.1:8000
Title1=Radio Station Name
Length1=-1

.M3U file format

One of the most common file formats is the .m3u file. This file format is usually already installed on Windows to automatically open in Windows Media Player, and can also be opened on most online players.

All you need to do is copy/paste the code into a blank text file, change “http://192.168.1.1:8000″ to point to your Shoutcast server, change “Radio Station Name” to your station’s name, upload it to your web site, and your finished!

#EXTM3U

#EXTINF:-1,Radio Station Name
http://192.168.1.1:8000

.ASX file format

This file format is used for starting an internet radio stream in Windows Media Player.

All you need to do is copy/paste the code into a blank text file, change “http://192.168.1.1:8000″ to point to your Shoutcast server, upload it to your web site, and your finished!

<ASX version="3.0">

<ENTRY>
   <REF href="http://192.168.1.1:8000"/>
</ENTRY>

</ASX>

.RAM file format

.ram is used to open up an internet radio stream in Real Player.

All you need to do is open a blank text file, type in your Shoutcast server information (ex: http://192.168.1.1:8000) , upload it to your web site, and your finished!

.ram example:

http://192.168.1.1:8000

Embedding the stream in a website

It’s one thing to put a link enabling the listener to launch your stream in an external player…it’s another to allow them to click on one link and listen, without having to open an external player. This = convenience.

Embedding Windows Media Player into a website…

You can easily insert a simple Windows Media Player into any website by copy/pasting the code to a blank text file (or current html file), changing “http://192.168.1.1:8000″ to point to your shoutcast server, uploading, and your finished! You can change the size of the player by changing the “width” and “height” tags (in pixels) to the height that you desire.

<object id="MediaPlayer1"
width=300 height=50
	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" align="middle">
    <param name="FileName" value="http://192.168.1.1:8000">
    <param name="ShowStatusBar" value="True">
    <param name="DefaultFrame" value="mainFrame">
    <embed type="application/x-mplayer2"
    pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
    src="http://192.168.1.1:8000" align="middle"
    width=300 height=50 defaultframe="rightFrame" showstatusbar=true>
    </embed>

Embedding Real Player into a website…

Embedding Quicktime Player into a website…