Embedding video files in your webpage.

Video plays an important role for attracting website visitors for your website. You can grab attention of visitors if you have video presentation for your products/services which would tell more about your product in more clear way as compare to text. Visual impact is much more powerful, if possible try to use videos for your products on your website. You should check if your webhosting service provider allow videos to be hosted on their servers. You can use http streaming strategy if you want to get videos on your site. You can embed video file within your webpage. If you  are planning to use Windows Media Files as your video files then you  use following code for embedding it within your webpage so that your video file would be displayed within your webpage.

Note :  you need to provide proper video file name which you have created and uploaded on your web hosting account in place of “videofilename.wmv” in below code.

CODE : -
<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>


You can customized Windows Media player which would appear on your webpage to some extent; such as you have option to show the playback controls, status indicator, etc.
Make sure you should have enough Diskspace and bandwidth, high configuration server if you expect huge traffic for your video site.

Posted under Uncategorized

Leave a Comment

Name (required)

Email (required)

Website

Comments

More Blog Post