Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to use the Windows Media Player ActiveX control in FrontPage


View products that this article applies to.

Summary

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

↑ Back to the top


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:
    1. On the File menu, click Import.
    2. In the Import dialog box, click Add File.
    3. In the Add File to Import List dialog box, select the media file you want to use and then click Open.
    4. 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:
      1. On the Insert menu, click Web Component.

        The Insert Web Component dialog box appears.
      2. In the Component type list, click Advanced Controls.
      3. In the Choose a control list, click ActiveX Control.
      4. Click Next.
      5. In the Choose a control list, select Windows Media Player, and click Finish.
    • In Microsoft FrontPage 2000:
      1. On the Insert menu, point to Advanced and click ActiveX Control.
      2. In the Insert ActiveX Control dialog box, click to select Windows Media Player.
      3. 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 or http://localhost/filename.avi), 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.

↑ Back to the top


References

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

↑ Back to the top


Keywords: KB294549, kbhowto, kbfunctions

↑ Back to the top

Article Info
Article ID : 294549
Revision : 8
Created on : 10/26/2007
Published on : 10/26/2007
Exists online : False
Views : 240