buy Pro
 
 
 
Navigation

Follow AbelCam
 Send to
 
Licenses
 
To implement access to the Windows Media Stream in a external web page, use the following html code:
<!--
the object tag is for IE. with these settings it will read the stream dimensions and resize to display in the original size
The video stream size (height, width) depends on the profile setting
if you choose to display controls, add 45 to the height
-->
<object id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
type="video/x-ms-asf" id="MyWMPPlayer"
data="http://yourhost:yourport/current.asx">
<param name="uiMode" value="full" />
<param name="autoStart" value="true" />
<param name="URL" value="/current.asx" />
<param name="autosize" value="1">
<param name="showstatusbar" value="1">
<param name="showcontrols" value="1">
<param name="showdisplay" value="1">
<param name="Filename" value=" http://yourhost:yourport/current.asx">
<param name="TransparentAtStart" value="false">
<param name="ShowControls" value="true">
<param name="AutoStart" value="true">
<!--
the embed tag is for FireFox and other browsers.
by default the size is rather small, so I put fixed size in here
-->
<embed type="application/x-mplayer2" name="WMPplayer"
pluginspage="http://www.microsoft.com/windows/mediaplayer/en/default.asp" width="320"
height="305" transparentatstart="0" controltype="2" showcontrols="1" showdisplay="0"
showstatusbar="1"
src="http://yourhost:yourport/current.asx"
autostart="true" border="0">
</embed>
</object>

Suggest categories or add complete tips as a comment, please