![]()
Embedding shoutcast into your website can be hard with all the different options out there...
Heres a code for a simple embedded player for windows media player...
Code:
<object id="MediaPlayer1" width=180 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://url:port">
<param name="AutoStart" value="True">
<param name="ShowStatusBar" value="True">
<param name="DefaultFrame" value="mainFrame">
<!-- BEGIN PLUG-IN HTML FOR FIREFOX-->
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="http://url:port" align="middle"
width=176
height=144
defaultframe="rightFrame"
showstatusbar=true>
</embed>
<!-- END PLUG-IN HTML FOR FIREFOX-->
</object>
Feel free to try this code out on your website.. It supports most major browsers.
-BW Team