All AbelCam functionality has been terminated October 8th 2019
 
 
 
Navigation

Edit detail for Windows Media Stream revision 2 of 2

1 2
Editor: sse
Time: 2009/03/05 19:17:44 GMT+1
Note:

changed:
-<img src="/img/wmv_icon.png" /> To implement access to the Windows Media
<img src="/img/wmv_icon.png"> To implement access to the Windows Media

changed:
-<pre style="background-color: rgb(224, 224, 224);">
-&lt;!--<br />
-      the object tag is for IE. with these settings it will read the stream dimensions and resize to display in the original size<br />
-      The video stream size (height, width) depends on the profile setting<br />
-      if you choose to display controls, add 45 to the height<br />
---&gt;<br />
-&lt;object id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"<br />
-  type="video/x-ms-asf" id="MyWMPPlayer"<br />
-  data="http://<span
-style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"&gt;<br />
-  &lt;param name="uiMode" value="full" /&gt;<br />
-  &lt;param name="autoStart" value="true" /&gt;<br />
-  &lt;param name="URL" value="/current.asx" /&gt;<br />
-  &lt;param name="autosize" value="1"&gt;<br />
-  &lt;param name="showstatusbar" value="1"&gt;<br />
-  &lt;param name="showcontrols" value="1"&gt;<br />
-  &lt;param name="showdisplay" value="1"&gt;<br />
-  &lt;param name="Filename" value=" http://<span
-style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"&gt;<br />
-  &lt;param name="TransparentAtStart" value="false"&gt;<br />
-  &lt;param name="ShowControls" value="true"&gt;<br />
-  &lt;param name="AutoStart" value="true"&gt;<br />
-&lt;!--<br />
-  the embed tag is for FireFox and other browsers.<br />
-  by default the size is rather small, so I put fixed size in here<br />
---&gt;<br />
-  &lt;embed type="application/x-mplayer2" name="WMPplayer"<br />
-    pluginspage="http://www.microsoft.com/windows/mediaplayer/en/default.asp" width="320"<br />
-    height="305" transparentatstart="0" controltype="2" showcontrols="1" showdisplay="0"<br />
-    showstatusbar="1"<br />
-    src="http://<span
-style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"<br />
-    autostart="true" border="0"&gt;<br />
-  &lt;/embed&gt;<br />
<pre style="background-color: rgb(224, 224, 224);">&lt;!--<br>
      the object tag is for IE. with these settings it will read the stream dimensions and resize to display in the original size<br>
      The video stream size (height, width) depends on the profile setting<br>
      if you choose to display controls, add 45 to the height<br>
--&gt;<br>
&lt;object id="MediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"<br>
  type="video/x-ms-asf" id="MyWMPPlayer"<br>
  data="http://<span style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"&gt;<br>
  &lt;param name="uiMode" value="full" /&gt;<br>
  &lt;param name="autoStart" value="true" /&gt;<br>
  &lt;param name="URL" value="/current.asx" /&gt;<br>
  &lt;param name="autosize" value="1"&gt;<br>
  &lt;param name="showstatusbar" value="1"&gt;<br>
  &lt;param name="showcontrols" value="1"&gt;<br>
  &lt;param name="showdisplay" value="1"&gt;<br>
  &lt;param name="Filename" value=" http://<span style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"&gt;<br>
  &lt;param name="TransparentAtStart" value="false"&gt;<br>
  &lt;param name="ShowControls" value="true"&gt;<br>
  &lt;param name="AutoStart" value="true"&gt;<br>
&lt;!--<br>
  the embed tag is for FireFox and other browsers.<br>
  by default the size is rather small, so I put fixed size in here<br>
--&gt;<br>
  &lt;embed type="application/x-mplayer2" name="WMPplayer"<br>
    pluginspage="http://www.microsoft.com/windows/mediaplayer/en/default.asp" width="320"<br>
    height="305" transparentatstart="0" controltype="2" showcontrols="1" showdisplay="0"<br>
    showstatusbar="1"<br>
    src="http://<span style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"<br>
    autostart="true" border="0"&gt;<br>
  &lt;/embed&gt;<br>

changed:
-  <br />
  <br>

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