Publish a Video to your Web Page

You can put an AVI or MPEG video on your web-page with this following code. It incorporates the player, so doesn’t depend on the user having “Quicktime” or “Whatever” installed.

<object id=”MediaPlayer1″ CLASSID=”CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95″ codebase=”http://activex.microsoft.com/activex/controls/mplayer/en/nsm p2inf.cab#Version=5,1,52,701″
standby=”Loading Microsoft Windows® Media Player components…” type=”application/x-oleobject” width=”144″ height=”154″ border=”2″>
<param name=”fileName” value=”Movie.wmv”>
<param name=”animationatStart” value=”true”>
<param name=”transparentatStart” value=”true”>
<param name=”autoStart” value=”true”>
<param name=”showControls” value=”true”>
<param name=”Volume” value=”-450″>
<embed type=”application/x-mplayer2″ pluginspage=”http://www.microsoft.com/Windows/MediaPlayer/” src=”Movie.wmv” name=”MediaPlayer1″ width=154 height=158 autostart=1 showcontrols=1 volume=-450 border=2>
</object>ntrols=1 volume=-450 border=2>


standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="144" height="154" border="2">

Change the screen size(s) to your choice and change the filename from Movie.wmv to your file movie name. Note there are two sets of names and sizes to change. Note 2, if you alter the display to “hide” the controls, you need to reduce the height setting by 44px.

Saving the original AVI file in MovieMaker to the smallest option reduces the files size dramatically. Choosing “Save to the Web”/”DialupModem(56k)” option reduces a 1.8GB file to 2.6MB.

The quality of your video will depend on how much you compress it – the greater the compression, the more detail you lose in your screen. Reducing the screen size increases the picture definition.

If your video is stored in a different folder to your web page, you need to put the path to the file in the code:
value=”path to file/Movie.wmv

3 Responses to “Publish a Video to your Web Page”

  1. SEO Articles says:

    I appreciate you for maintaining such a creative portal. this website is not only useful but also very artistic too. We come across very few people who are capable of create technical articles that creatively. All of us keep looking for information with regard to a subject like this. We ourselves have looked through many blogs to come across knowledge with regard to this. Keep up the good work !!

  2. Rhys says:

    @SEOArticles
    I would pay more attention to your compliment if you hadn’t copied it (with some little edits) from another of my blogs!

    :roll: – Rhys

  3. Rubi Groote says:

    I truly enjoy this blog. Discovered it on Google and you put up some great info. Look forward to the next post.

Leave a Reply

CommentLuv Enabled