EMBED
.WMV EXAMPLE
(Windows
Media Player Video)
| A .WMV file can be quite large
in size and may take some time to load. Right-click on the console in a
blank spot. Select 'Properties' and you will see the type of compression
that was used to create the file. The actual video size is 240 high, by
320 wide. The player size has been adjust to accommodate this.
Following is the script used to play the video. It must be placed on the page at the location you want it to appear.Notice that "playMedia" includes not only the file name and extension, but is preceded by the location of the file. In this case it is in a separate folder named "media" which was created in the folder this document is located in. The first number has been set to "1" so that the video repeats only once. Note the height of 320 and width of 340. This can be adjusted to suit your video. |
| <script language="JavaScript" src="wmpCodeGen.js"></script>
<script language="JavaScript" type="text/javascript"> playMedia("media/Amazing_Balls.wmv",1,320,340) </script> |
| Please click the 'Back' button below to view other examples. |