NetShow Player Netscape Plug-in


NetShow includes a Netscape plug-in for the Player control. This plug-in can be used to view embedded audio and video content with Netscape Navigator. The NetShow Player Netscape plug-in was developed for Microsoft by Digital Renaissance, Inc. To learn more about Digital Renaissance and its products, visit their Web site at http://www.digital-ren.com External Link.

The plug-in does not support scripting; however, it does support many of the Player control properties that are set at design time. Properties that are set and retrieved dynamically are accepted by the plug-in but have no effect on the control. For example, the ControlType property that determines how the player's controls are displayed is supported while properties like CurrentMarker and CurrentPosition that change while the player is in use are not supported.

URL commands embedded in an ASF stream are interpreted by the plug-in. When a URL is received by the plug-in, it is automatically invoked and the browser flips to the new location.

The plug-in also supports the following attributes for specifying the size of the control and the source file.
Attribute Description
Src Analogous to the FileName Property.
Width Analogous to WIDTH parameter of the Object tag.
Height Analogous to HEIGHT parameter of the Object tag.

The following HTML example demonstrates how to add the Player control to a Web page so that it can be interpreted by any browser.

<!-- Object tag for Internet Explorer --> 
<OBJECT ID="NSPlay1" WIDTH=160 HEIGHT=128
 CLASSID="CLSID:2179C5D3-EBFF-11CF-B6FD-00AA00B4E220"
 CODEBASE="http://www.microsoft.com/netshow/download/en/nsasfinf.cab#Version=2,0,0,888">
 <PARAM NAME="FileName" VALUE="http://NetShow/Sample.asx">
 <PARAM NAME="ControlType" Value="1">
 
 <!-- Embed tag for Netscape Navigator -->
 <Embed type="application/asx"
        src="http://NetShow/Sample.asx"
        ControlType=1
        Width=160
        Height=128>
		 
 <!-- NoEmbed tag for all other browsers -->
 <noembed>
 <a href="http://NetShow/Sample.asx">View NetShow Sample</a>
 </noembed>
 
 </embed>
</OBJECT>

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.