Windows Media Embed Code
February 4, 2009 1
The enclosed code can be copied and pasted into a table or cell of your HTML web page to embed the Windows Media player. All you have to do is change the URL links that are in bold to your unique source files. Settings for various aspects are as follows, 1= true and 0 = false. The bold sections should be edited to contain details of your Live Stream, or On-Demand files, as well as configuring player size. On Demand example (replaces bold src & filename) – http://139.obj.netromedia.net/publishingpoint/filename.wmv Live example (replaces bold src & filename) – http://139.obj.netromedia.net/publishingpoint
<object id="MediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="382" height="306">
<param name="autostart" value="1">
<param name="src" value="http://139.obj.netromedia.net/livestream">
<param name="FileName" value="http://139.obj.netromedia.net/livestream">
<param name="AnimationatStart" value="1">
<param name="TransparentatStart" value="0">
<param name="AutoStart" value="1">
<param name="ShowControls" value="1">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" src="http://139.obj.netromedia.net/livestream" showcontrols="1" width=382 height=306 filename="http://139.obj.netromedia.net/livestream" animationatstart="1" transparentatstart="0" autostart="1"></embed>
</object>
Your On-Demand files or Live Stream on the NetroMedia server matrix will then play streaming media in a player on your site. It’s seamless! Please create a Support Case if you have any questions, if you are having problems with some code you have created, please add the code itself to the support case.