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: Play Background Sound in Netscape Navigator in FrontPage 2000


View products that this article applies to.

Summary

When you add a background sound to a Web page in Page view, FrontPage inserts the <bgsound> tag before the </head> tag. Netscape Navigator ignores the <bgsound> tag. To play a sound in Netscape Navigator, you can use the <embed> tag.

This article describes how to insert a background sound that plays when you load an HTML page in a Netscape browser. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.

Playing a Background Sound in Netscape Navigator

  1. Open your page in FrontPage.
  2. On the Insert menu, click Advanced, and then click HTML.
  3. In the HTML Markup dialog box, type the following HTML code:

          <embed src="soundfile.wav" hidden="true" align="baseline" border="0"
           width="128" height="128" autostart="true" autoplay="true">
    						

    where soundfile.wav is the name of the background sound file you want to use. You can use a .wav, .mid. or .au file.
  4. Click OK.
  5. On the File menu, click Save.

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 that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.





↑ Back to the top


References

For a Microsoft FrontPage 98 version of this article, see 194096.
For a Microsoft FrontPage 97 and earlier version of this article, see 183785.












↑ Back to the top


Keywords: KB196138, kbhowtomaster, kbhowto

↑ Back to the top

Article Info
Article ID : 196138
Revision : 2
Created on : 6/18/2005
Published on : 6/18/2005
Exists online : False
Views : 308