uViewit
You are here: uViewIt Home > Knowledgebase > FAQs > Can I Play WMV/AVI video files in my web page?Please Login or Register



Can I Play WMV/AVI video files in my web page?

Yes, just paste the following code into your web page and replace the end of the src= link with the path and name of your video. You will need to adjust the Width and Height parameters to match your video:

<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="false">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="true">
<EMBED TYPE="application/x-mplayer2"
SRC="videofilename.wmv"
NAME="MediaPlayer"
WIDTH="192"
HEIGHT="190"
ShowControls="0"
ShowStatusBar="0"
ShowDisplay="0"
autostart="1"
pluginspage="http://www.microsoft.com/windows/windowsmedia/download/default.asp">
</EMBED>
</OBJECT>

Also, you can convert from the very large AVI format to ASF format. ASF (Microsoft Windows Advanced Streaming Format. Use Windows Media On-Demand Producer to obtain the ASF format. Get it from here.
If you want to play multiple video files, just create an ASX file in Windows Media Player, and set the name of that asx file in place of the .wmv files above.

 



Was this answer helpful?

Add to Favourites
Print this Article

Powered by WHMCompleteSolution

uViewIt, Inc. ©2009
Language: