Embedding Windows Media Player for Shoutcast and Icecast

May 18, 2011 in Blog, ICEcast, Internet Radio, SHOUTcast by Javier Rivera  |  No Comments

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/mountpoint typically “stream”

<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>

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

Order now, Do not miss the opportunity of be a DJ.

Posted in Blog, ICEcast, Internet Radio, SHOUTcast and tagged , , , , , .

Comments are closed.