Avatar of phpretard

asked on 

How can I buffer and or stream wmv files?

I thought the code below would work but all that happen is a media player pops up and nothing plays.

Whe I view the source all varialbles are in place the video just wont play.

Also is there something I can add to this to make it MAC compatible?
<title><? echo $title; ?></title>
body {
<div id="video">
<OBJECT ID="MediaPlayer" WIDTH="400" HEIGHT="320" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="<? echo $source; ?>">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="true">
<EMBED TYPE="application/x-mplayer2" SRC="<? echo $source; ?>" NAME="MediaPlayer"
WIDTH="400" HEIGHT="320" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>

Open in new window

Digital AudioPHPHTMLWeb Development

Avatar of undefined
Last Comment

8/22/2022 - Mon