Avatar of phpretard
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

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

I am on a linux server...Does this matter?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck