PUB98: Background Sounds Don't Play with Some Browsers (183505)



The information in this article applies to:

  • Microsoft Publisher 98

This article was previously published under Q183505

SYMPTOMS

When you preview or publish a Web site to a folder, the background music that you selected in the Web Properties dialog box may not play when you open a page from your site using some third-party Web browsers. In contrast, the background sound will play when you open your Web using Microsoft Internet Explorer.

CAUSE

This occurs when you use a third-party Internet Web browser, such as Netscape Navigator, that does not support the background sound (<BGSOUND>) tag.

RESOLUTION

You can insert an HyperText Markup Language (HTML) code fragment. This code will allow Netscape Navigator and other third-party browsers to play MIDI files from your Publisher Web site.

NOTE: Microsoft Technical Support does not support inserting or editing HTML code fragments. This method is provided solely as a convenience to you.

The following steps will embed the MIDI file in a viewable format for Netscape Navigator 3.x and later. Because the MIDI file will be embedded on the page, it will not play automatically. To play the sound, you will have to click the file. You cannot make this embedded sound loop.

  1. On the Insert menu, click HTML Code Fragment.
  2. Draw a box where you would like to display the hyperlink to the MIDI file.
  3. In the HTML Code Fragment Properties dialog box, type the following: <embed src="filename.mid" height=55 width=140></embed> where "filename.mid" is the MIDI file that you want to use for your background sound.

MORE INFORMATION

The background sound tag has the following syntax:

   <bgsound src="filename.mid" loop=1>
				


where src represents the source sound file that will be played and loop indicates how many times the sound file will loop.

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.

Modification Type:MajorLast Reviewed:2/16/1999
Keywords:kbprb kbsound KB183505