Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 183785 - Last Review: June 27, 2007 - Revision: 3.1
FP: How to Play Background Sound in Netscape Navigator
This article was previously published under Q183785
For a Microsoft FrontPage 98 version of this article, see
194096Â
(http://kbalertz.com/Feedback.aspx?kbNumber=194096/EN-US/
)
.
When you add a background sound to a Web page in FrontPage Editor,
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.
To play a background sound in Netscape Navigator, use the appropriate steps
for your version of FrontPage.
FrontPage 97 and FrontPage for the Macintosh
- Open your page in FrontPage Editor.
- On the View menu, click HTML.
- Place the insertion point after the <body> tag and 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.
- Click OK.
- On the File menu, click Save.
FrontPage 1.1
- Open your page in FrontPage Editor.
- On the Insert menu, click Bot.
- In the Select A Component list, click HTML Markup and then click OK.
- 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.
- Click Close.
- 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 an 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.
APPLIES TO
- Microsoft FrontPage 97 Standard Edition
- Microsoft FrontPage 1.1 Standard Edition
- Microsoft FrontPage 1.0 for Macintosh
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate