FP: How To Play a Background Sound in Netscape Browser

Last reviewed: May 11, 1998
Article ID: Q185365

The information in this article applies to:
  • Microsoft FrontPage 98 for Windows
  • Microsoft FrontPage 97 for Windows with Bonus Pack
  • Microsoft FrontPage for the Power Macintosh, version 1.0

SUMMARY

This article describes how to insert a background sound that plays when you load an HTML page in a Netscape browser.

MORE INFORMATION

FrontPage 98

To insert a background sound, follow these steps:

  1. If you do not have a sound file in your current Web, import a file by following these steps:

        a. Open a Web in FrontPage Explorer.
    

        b. On the File menu, click Import.
    

        c. Click Add A File.
    

        d. Click Browse, select the file you want to import, and click OK.
    

        e. Click OK.
    

  2. Open the page in FrontPage Editor.

  3. On the Insert menu, click FrontPage Components.

  4. From the Select A Component list, click Insert HTML, and then click OK.

  5. In the HTML Markup box, type the following code:

          <EMBED SRC="<filename>.wav" HIDDEN="true" AUTOSTART="true"
          LOOP="true" WIDTH="9" HEIGHT="13">
    

    where <filename> is the name of the sound file you want to use.

    NOTE: For additional information about the HIDDEN, AUTOSTART, and LOOP attributes, please see the "HIDDEN, AUTOSTART, and LOOP Attributes" section of this article.

  6. Click Ok.

  7. Save the page.

FrontPage 97 and FrontPage 1.0 for the Power Macintosh

  1. If you do not have a sound file in your current Web, import a file by following these steps:

        a. Open a Web in FrontPage Explorer.
    

        b. On the File menu, click Import.
    

        c. Click Add A File.
    

        d. Click Browse, select the file you want to import, and click OK.
    

        e. Click OK.
    

  2. Open the page in FrontPage Editor.

  3. On the Insert menu, click HTML Markup.

  4. In the HTML Markup box, type the following code:

          <embed SRC="<filename>.wav" HIDDEN="TRUE" AUTOSTART="TRUE"
          LOOP="TRUE" WIDTH="9" HEIGHT="13">
    

    where <filename> is the name of the sound file you want to use.

    NOTE: For additional information about the HIDDEN, AUTOSTART, and LOOP attributes, please see the "HIDDEN, AUTOSTART, and LOOP Attributes" section of this article.

  5. Click Ok.

  6. Save the Page.

HIDDEN, AUTOSTART, and LOOP Attributes

The HIDDEN, AUTOSTART and LOOP attributes of the EMBED tag are described as follows:

   HIDDEN="true|false"      Setting this attribute specifies whether
                            the plug-in is visible. Some plug-ins
                            (like the LiveAudio plug-in) can control the
                            embedded data type without being visible. The
                            default value is false, meaning that the
                            plug-in control will be displayed.

   AUTOSTART="true|false"   Setting this attribute specifies whether
                            the plug-in will start automatically.
                            Some plug-ins (like the LiveAudio plug-in)
                            can control the embedded data type without
                            user intervention. The default value is
                            false, meaning that the plug-in will not
                            function until the control is clicked.

   LOOP="true|false"        Setting this attribute specifies whether
                            the plug-in plays in a infinite loop. The
                            default value is false, meaning that the
                            plug-in will play once.

The third-party products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.


Additional query words: frontpg fpeditor backgound sound bgsound plugin plug-in
Keywords : kb3rdparty kbdta
Technology : internet kbinetdev
Version : MACINTOSH:1.0; WINDOWS:97,98
Platform : MACINTOSH WINDOWS
Hardware : x86
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.

Last reviewed: May 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.