|
1
2
|
|
Editor: sse
Time: 2007/07/05 16:45:17 GMT+0
|
Note:
|
changed:
-
<img src="/img/wmv_icon.png" /> To implement access to the Windows Media
Stream in a external web page, use the following html code:
<pre style="background-color: rgb(224, 224, 224);">
<!--<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 />
--><br />
<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"><br />
<param name="uiMode" value="full" /><br />
<param name="autoStart" value="true" /><br />
<param name="URL" value="/current.asx" /><br />
<param name="autosize" value="1"><br />
<param name="showstatusbar" value="1"><br />
<param name="showcontrols" value="1"><br />
<param name="showdisplay" value="1"><br />
<param name="Filename" value=" http://<span
style="color: rgb(255, 0, 0);">yourhost:yourport</span>/current.asx"><br />
<param name="TransparentAtStart" value="false"><br />
<param name="ShowControls" value="true"><br />
<param name="AutoStart" value="true"><br />
<!--<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 />
--><br />
<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"><br />
</embed><br />
</object>
</pre>
<br />
Suggest categories or add complete tips as a comment, please
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