Codebase Location in NetShow Object Tag to Detect NetShow

Last reviewed: September 16, 1997
Article ID: Q170682
The information in this article applies to:
  • Microsoft NetShow version 2.0

SUMMARY

This article discusses if a reliable codebase location at Microsoft exists that I could put into the NetShow object tag (in an HTML page) that would cause the browser to detect when NetShow is not present and go load it for the user.

MORE INFORMATION

Microsoft NetShow 2.0 includes support for all WWW browsers in some form. The following shows an example of HTML code to demonstrate how to add the player control to a web page so that any browser can interpret it.

In Microsoft Internet Explorer 3.x and later, you can use an Object tag to show a Video embedded into the HTML code. The NetShow player (NSPLAY.EXE) includes a plugin that will work only with 32-bit versions of NetScape and the Embed tag. For other browsers, you can use the NOEMBED tag to display a link to an .ASX file and activating the link will spawn the stand-alone player.

You can find more information about the NetShow client OCX and the NetScape plugin in the Client SDK documentation that is part of the Content Creation Station Documentation installed by the Nstools.exe file.

The following is a good example of all browser HTML code:

<html> <Head> A Sample NetShow Page </Head> <body>

<OBJECT ID="NSPlay" 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,912"> <PARAM NAME="FileName" VALUE="http://server/path/myvideo.asx">

     <Embed type="video/x-ms-asf-plugin"
          src="http://server/path/myvideo.asx"
          filename="http://server/path/myvideo.asx"
          pluginspage="http://www.microsoft.com/netshow/download/player.htm"
          ControlType=1
          width=290
          height=250    >
       </embed>
</OBJECT> <br>

<a href="http://server/path/myvideo.asx">Start the NetShow presentation in the stand-alone player.</a>

</body> </html>


Additional query words: ns
Keywords : kbother nsclnt kbfaq
Version : 2.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.