How To Embed Windows Media Into A Web PageEmbedding streaming media files directly into your web page can be easy with tools such as Microsoft Front Page 2002. If you have Microsoft Front Page 2002 and don't yet have the new media add-in, you can download here.
Here is some sample HTML code to embed the Microsoft Media Player directly
into your web page.
<OBJECT ID="MediaPlayer" WIDTH="320" HEIGHT="240" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
TYPE="application/x-oleobject"> The "type" attribute lets the browser know which plug-in to use to play the media. The "src" attribute tells the plug-in what media to play and where it resides. The "src" attribute can be the StreamCanada path to your media, an ".asx" reference file, or the mms path to the media. The "height" and "width" attributes are the dimensions of your media. If the media is audio only be sure to set the "height" and "width" to at least 2x2 or it may not work in all browsers. With attributes whose value can be “true” or "false" a "1" is used for "true" and a "0" for "false". The "autostart" attribute determines whether the clip starts playing automatically or not. The "showcontrols" attribute determines if the media controls are available to the viewer. The reason for the use of both the OBJECT and EMBED tag is to insure functionality in all browsers. Tip: If you set the "showcontrols" attribute to "1", be sure to add 44 to the "height" attribute. This will prevent to distortion of your video. For further detail instructions on working with embedding your Microsoft
Media Player into your web site,
please click here. |
|
||
|
|
|||||
|
Usage
Policies |
Privacy Policy |
Legal Disclaimer Copyright © 2003 Interactive Horizons. All rights reserved. |