www.Stream.JoinWeb.com
Home About Pricing Services Partners Support Contact


FREE ACCOUNT
SIGN-UP TODAY
SHOPPING CART
View Cart Contents
STREAM.JOINWEB
PARTNERS
»ASP Web Design
»NT Web Hosting
»Domains Names
»Internet Access
»Marketing Tools

Download Windows Media Download QuickTime Download Real Player
Click To Download
www.PayPal.com
Domain Name Registration
WWW.

Support
FAQs Embedding Real Media Embedding Windows Media Embedding QuickTime Media
Off-Site Support Material --> Real Media Windows Media QuickTime
Streaming Calculator

How To Embed Windows Media Into A Web Page

Just insert the following OBJECT/EMBED tag in your Web page:

<OBJECT ID="NSPlay" WIDTH=160 HEIGHT=128
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">
<PARAM NAME="FileName" VALUE="filename.asx">
<PARAM NAME="ShowControls" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
filename="filename.asx"
src="slinky.asx"
Name="NSPlay"
ShowControls="1"
ShowDisplay="1"
ShowStatusBar="1"
width="290"
height="320">
</OBJECT>

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 Stream.JoinWeb Easylink 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 more information on embedding you can review Chapter 8 of RealSystem Production Guide, located at http://service.real.com/help/library/guides/production8/realpgd.htm, provides a good introduction into the art and science of embedding Real media.



Home About Pricing Showcase Services Partners Support Contact


© Harpwro Enterprises Incorporated 2001

Another Fine h-webdesign.com