video camera

Adding Video to a Web Page

Embedding a Windows Media File and Player

To embed Windows Media files into your web page:

  1. View the html source of this page in your internet browser 
  2. Copy all of the code from the first Object tag to the second (closing) Object tag.
  3. Use a text editor, such as Wordpad to open the html file where you wish to place your movie.
  4. Paste this code into the code of your web page at the point where you would like the movie to appear.
  5. Replace both instances of shrek_movies/Windows_Media_Movie.wmv with the name of your movie file.  Note:  If your movies are located in a separate folder, you must include the folder name and a forward slash prior to the name of the file.

Please Note: The movie used in this example has a height of 240 pixels and a width of 320 pixels. In order to allow space for the player controls and the status bar, the height in the code has been increased by 72 pixels (that is 46 pixels for the controls and 26 pixels for the status bar) to equal 312. If your movie dimensions are not 320 X 240, you should adjust the dimensions in the code accordingly.