Embedding a wmv file in your web page
August 3, 2006 by Emanuele Feronato
Filed Under Html •
Filed Under Html •
Just in case you have to embed a wmv file in your webpage, and there is no need to do it since it's possibile to play better videos with flash but... just in case you really have to do it... like I have to do it today... here it is the html code
HTML:
-
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
-
<PARAM NAME="FileName" VALUE="videofilename.wmv">
-
<PARAM name="ShowControls" VALUE="true">
-
<param name="ShowStatusBar" value="false">
-
<PARAM name="ShowDisplay" VALUE="false">
-
<PARAM name="autostart" VALUE="false">
-
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer" WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
-
</OBJECT>
Adjust height, width, ect to match your video settings.
Improve the blog rating this post
Tell me what do you think about this post. I'll write better and better entries.
Tell me what do you think about this post. I'll write better and better entries.
» Template monster proudly presents HTML Templates in order to meet its customers' demands.
These HTML Templates can be easily edited with any HTML editor including the simplest one - Notepad.
They include .html files which makes them available for HTML editing.
These HTML Templates can be easily edited with any HTML editor including the simplest one - Notepad.
They include .html files which makes them available for HTML editing.
2 Responses to “Embedding a wmv file in your web page”
Leave a Reply

if only that it so easy; please try with flash; Can you play *.wmv in flash; and how to using in html code; if you can i will buy for you 100….beer…. or not please give me a party….Thanks
This seems to work in IE, but not in Mozilla. Do you have anny fixes for that?