LiveZilla Live Help
Windows Media Player for Icecast

Windows Media Player Script for Icecast or SHOUTcast

 

This is a code to embed a Windows Media Player in your website to stream Shoutcast or Icecast.

Note: Icecast needs a mount point http://ipaddress:port/stream  unless you stream to a different mount point.


<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://ipaddress:port">
<PARAM name="autostart" VALUE="true">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="http://ipaddress:port" NAME="MediaPlayer"
WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </EMBED>
</OBJECT>

No Display: HEIGHT=”45″ (2 height to change)
No Autostart: <PARAM name=”autostart” VALUE=”false”> and autostart=”0″