Jump to content

Streaming from a Web Server


jahar

Recommended Posts

Hi

Can someone help me with this problem. I try to use the streaming video in windows mediaplayer in order to let the user to start watching a video without having to wait until the video is downloaded to their local machine.

This is the code I'm using but it's not working:

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" STANDBY="Loading Microsoft Windows Media Player components..." width="329" height="260" type="application/x-oleobject">
<PARAM NAME="src" value="http://path-to-site/video.php?file={$product.Video}" >
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
<embed src="http://path-to-site/video.php?file={$product.Video}" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" width="329" height="260" AutoStart="true"></embed>
</object>

Thanks in advance
Link to comment
https://forums.phpfreaks.com/topic/4344-streaming-from-a-web-server/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.