Embedded
Posted: Fri Mar 30, 2012 5:06 am
I have this code in a PHP file:
You can see it run here:
http://asai.dyndns.org/test/stream1.php
Very nice, however it goes black after approx 2 min.
If I run the address mms://81.166.2.19:8010/ directly in Media Player it runs until I stop it.
Any suggestions on what could be wrong?
Code: Select all
<html>
<head>
<title>Test stream</title>
<meta http-equiv="Content-Type" content="text/html" />
<LINK REL=StyleSheet HREF="/themes/fourseasons/css/style.css" TYPE="text/css" MEDIA=screen>
</head>
<body>
<object id="MediaPlayer1"
width=480
height=360
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="VisionGS Webcam Software"
type="application/x-oleobject" align="middle">
<param name="FileName" value="mms://81.166.2.19:8010/">
<param name="ShowStatusBar" value="true">
<param name="DefaultFrame" value="mainFrame">
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="false">
<param name="enableContextMenu" value="false">
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="mms://81.166.2.19:8010/"
height=360
width=480
showcontrols=0
showstatusbar=1>
</embed>
</object>
</body>
</html>http://asai.dyndns.org/test/stream1.php
Very nice, however it goes black after approx 2 min.
If I run the address mms://81.166.2.19:8010/ directly in Media Player it runs until I stop it.
Any suggestions on what could be wrong?