The following snippet shows how to embed media player into a web page. The parmeter FileName value points to the file you want to play. You can also change it to an URL address to link for online radio, television. Both OBJECT and EMBED TAG’S are used for maximum browser compatibility.


<OBJECT ID="MediaPlayer" WIDTH="200" HEIGHT="200" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
 STANDBY="Please wait for medial player to load..." TYPE="application/x-oleobject">
 <PARAM NAME="FileName" VALUE="myvideo.wmv">
 <PARAM name="ShowControls" VALUE="true">
 <PARAM name="ShowStatusBar" value="true">
 <PARAM name="ShowDisplay" VALUE="false">
 <PARAM name="autostart" VALUE="false">
 <EMBED TYPE="application/x-mplayer2" SRC="myvideo.wmv" NAME="MediaPlayer"
 WIDTH="200" HEIGHT="200" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="0"> </EMBED>
 </OBJECT>