Page 1 of 1

Embedded

Posted: Fri Mar 30, 2012 5:06 am
by asai
I have this code in a PHP file:

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>
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?

Re: Embedded

Posted: Fri Mar 30, 2012 5:24 am
by social_experiment
asai wrote:Very nice, however it goes black after approx 2 min
The video stops playing?

Re: Embedded

Posted: Fri Mar 30, 2012 7:14 am
by asai
Yes it does. :(

Re: Embedded

Posted: Fri Mar 30, 2012 7:52 am
by social_experiment
The code isn't the problem; what type of file are you using

Re: Embedded

Posted: Fri Mar 30, 2012 8:33 am
by asai
Its not a file: Its a live stream from a webcam... We use VisionGS software for this...

Re: Embedded

Posted: Fri Mar 30, 2012 8:42 am
by social_experiment
Try contacting the authors of the software you are using;