D
Dan
I have the following code:
<html>
<body>
<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="axrtsp://192.168.1.100/mpeg4/2/media.amp">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>
<script type="text/javascript">
document.getElementById("VIDEO").play();
//also have tried document.getElementById("VIDEO").controls.play();
//also document.VIDEO.play()
</script>
</body>
</html>
The trouble is the video does not play unless I right click on it in IE
and select play from there. I am using Win Media Player 9 and IE6. This
is a live MPEG4 stream, I don't know if it has anything to do with the
trouble or not. The point is why does, a right click / play menu
selection work and not a document....play(). Dan
<html>
<body>
<OBJECT id="VIDEO" width="320" height="240"
style="position:absolute; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="axrtsp://192.168.1.100/mpeg4/2/media.amp">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AutoStart" VALUE="True">
<PARAM name="uiMode" value="none">
<PARAM name="PlayCount" value="9999">
</OBJECT>
<script type="text/javascript">
document.getElementById("VIDEO").play();
//also have tried document.getElementById("VIDEO").controls.play();
//also document.VIDEO.play()
</script>
</body>
</html>
The trouble is the video does not play unless I right click on it in IE
and select play from there. I am using Win Media Player 9 and IE6. This
is a live MPEG4 stream, I don't know if it has anything to do with the
trouble or not. The point is why does, a right click / play menu
selection work and not a document....play(). Dan