Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.