
February 25th, 2007, 03:08 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Posts: 1
Time spent in forums: 11 m 7 sec
Reputation Power: 0
|
|
|
Embedding WMP
I've been trying to figure out how to embed a Windows Media Player in a web page, and have it start downloading and playing the video before the whole file is actually downloaded (it's a big file). But it doesn't seem to be working for me.
Here's what code I'm using:
Code:
<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Windows Media Player components..." type="application/x-oleobject"
codebase="(URL address blocked: See forum rules)=6,4,7,1112">
<param name="filename" value="(URL address blocked: See forum rules)/myFile.mpg">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">
<embed type="application/x-mplayer2" src="(URL address blocked: See forum rules)/myFile.mpg"
name="MediaPlayer" width=320 height=240></embed>
</object>
It embeds the video, all right, but doesn't start playing until the full file is downloaded...
Am I doing this all wrong?
|