spacer
Yehuda Shiran March 26, 2000
JukeBox Principles
Tips: March 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

In Internet Explorer, we embed the Media Player in the Web page as an ActiveX control. Since ActiveX control is unique to the Windows operating system and Internet Explorer, we need a method to play a streaming media with other operating systems and other browsers. The way to do it is by embedding the Media Player's Plugin in your page. When downloading the player, Microsoft server will identify your operating system and will download both the Media Player ActiveX control as well as its Plugin, either or both, whatever is playable on your computer.

The HTML tag that embeds the Media Player's Plugin is the <EMBED> tag. Here is how we use this tag in our jukebox:

<EMBED TYPE="application/x-mplayer2"
   PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/" 
   ID=mediaPlayer
   Name="mediaPlayer"
   DISPLAYSIZE="4" 
   AUTOSIZE="-1"
   BGCOLOR="darkblue"
   SHOWCONTROLS="-1"
   SHOWTRACKER="-1"
   SHOWDISPLAY="0"
   SHOWSTATUSBAR="-1"
   VIDEOBORDER3D="-1"
   WIDTH=320
   HEIGHT=313
   SRC="http://msdn.microsoft.com/downloads/samples/
        Internet/imedia/netshow/smedia/NS3/JavaScript/Buttons/control.asx"
   AUTOSTART="-1" '); 
   DESIGNTIMESP="5311">
</EMBED>

Learn more about our Netscape streaming media jukebox in Column 52, A Streaming Media JukeBox, Part II: Netscape Version.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business