Microsoft KB Archive/185365

{| The information in this article applies to:
 * width="100%"|
 * 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.

FrontPage 98
To insert a background sound, follow these steps:

  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.  Open the page in FrontPage Editor. On the Insert menu, click FrontPage Components. From the Select A Component list, click Insert HTML, and then click OK.  In the HTML Markup box, type the following code:  where 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.  Click Ok. Save the page.</ol>

FrontPage 97 and FrontPage 1.0 for the Power Macintosh
<ol>  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. </li> Open the page in FrontPage Editor.</li> On the Insert menu, click HTML Markup.</li>  In the HTML Markup box, type the following code: <embed SRC=" .wav" HIDDEN="TRUE" AUTOSTART="TRUE" LOOP="TRUE" WIDTH="9" HEIGHT="13"> where 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. </li> Click Ok.</li> Save the Page.</li></ol>

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.
 * }

-

Last reviewed: May 11, 1998

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.