How to include Video files


Click here for standalone player
Download Windows Media Player Here


Push To Play Video

Ever feel like this? I do.


<html>
<head>
<title> The Page Title Goes Here </title>
</head>
<body>
<object id="MediaPlayer1" width="180" height="200"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject" align="middle">
<param name="FileName" value="YourFilesName.mpeg">
<param name="ShowStatusBar" value="True">
<param name="DefaultFrame" value="mainFrame">
<param name="autostart" value="false">
<embed type="application/x-mplayer2"
pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"
src="YourFilesName.mpeg"
autostart="false"
align="middle"
width="176"
height="144"
defaultframe="rightFrame"
showstatusbar="true">
</embed>
</object>
<a href="YourFilesName.mpeg"><font size="2">Click
here for standalone player</font></a>
<a href="http://www.microsoft.com/windows/windowsmedia/en/default.asp"><font size="1">Download Windows Media Player Here</font></a></p>

</body>
</html>

Attributes of the <embed> tag are:
SRC -
tells what file to use.
AUTOSTART="TRUE" -
tells the computer to start the Video playing upon loading the page.
AUTOSTART="FALSE" -
tells the computer not to start the Video playing upon loading the page. You must click the start button to make the Video play.
ALIGN=Middle -
tells the computer to put the start/stop buttons to the middle.
WIDTH= & HEIGHT= -
are the dimensions of a small button panel that will appear when the page loads and contains both a START & STOP button so the visitor can start/stop the Video.
LOOP=2 -
will play the Video for two complete loops.

[ Back To HTML TUTORIAL MENU ]

last updated; 02/17/02