KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q294549: FP: How to Use the Windows Media Player ActiveX Control

Article: Q294549
Product(s): Word Front Page
Version(s): 
Operating System(s): 
Keyword(s): kbdta
Last Modified: 17-OCT-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft FrontPage 2002 
- Microsoft FrontPage 2000 
-------------------------------------------------------------------------------

SUMMARY
=======

This article describes how to insert the Windows Media Player ActiveX Control on
a Web page by using Microsoft FrontPage.

MORE INFORMATION
================

You can insert a video into a FrontPage Web using the Windows Media ActiveX
Control. When you use the Windows Media ActiveX Control, the Play, Pause, and
Stop buttons are also included for controlling the inserted video.

To use the Windows Media Player ActiveX Control in a FrontPage Web, follow these
steps:

1. In FrontPage, open a Web.

2. Import a media file into your Web. To do this, follow these steps:

  a. On the File menu, click Import.

  b. In the Import dialog box, click Add File.

  c. In the "Add File to Import List" dialog box, select the media file you
     want to use and then click Open.

  d. Click OK to import the file.

3. Insert the Windows Media Player ActiveX Control. To do this, click on the Web
  page where you want to place your video, and do one of the following:

   - In Microsoft FrontPage 2002:

     a. On the Insert menu, click Web Component.

        The Insert Web Component dialog box appears.

     b. In the Component type list, click Advanced Controls.

     c. In the Choose a control list, click ActiveX Control.

     d. Click Next.

     e. In the Choose a control list, select Windows Media Player, and click
        Finish.

   - In Microsoft FrontPage 2000:

     a. On the Insert menu, point to Advanced and click ActiveX Control.

     b. In the Insert ActiveX Control dialog box, click to select Windows Media
        Player.

     c. Click OK.

4. Right-click the Windows Media Player and click ActiveX Control Properties on
  the menu that appears.

5. Click the Parameters tab. In the Attribute list, select Filename, and then
  click Modify.

6. Under Value, click to select Data, type the file name (or the URL) for the
  media file (for example, type "filename.mpe" (without the quotation marks) or
  "http://localhost/filename.avi" (without the quotation marks)), and click
  OK.

  NOTE: Do not change the Filename box. The contents of the Filename box should
  remain as Filename.

7. Click OK to close the Options dialog box.

NOTE: You can also insert a video on a Web page by pointing to Picture on the
Insert menu, and then clicking Video. In the Video dialog box, select the media
file, and then click Open. This method adds the media file as a dynamic source
that does not include the Windows Media Controls (the Play, Pause, and Stop
buttons) for controlling the video.

REFERENCES
==========

For more information about Windows Media Player, please see the following
Microsoft Web site:

  http://www.microsoft.com/windows/windowsmedia/en/default.asp

Additional query words: inf

======================================================================
Keywords          : kbdta 
Technology        : kbFrontPageSearch kbFrontPage2002 kbFrontPage2000Search kbFrontPage2002Search kbZNotKeyword5
Version           : :
Issue type        : kbhowto

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.