Microsoft KB Archive/248259: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - """ to """)
 
(One intermediate revision by the same user not shown)
Line 59: Line 59:
<br />
<br />
To play back a sound on a Web page, Internet Explorer uses the BGSOUND tag, as in the following example:
To play back a sound on a Web page, Internet Explorer uses the BGSOUND tag, as in the following example:
<pre class="codesample"><BGSOUND SRC=&quot;guitar2.wav&quot;&gt;
<pre class="codesample"><BGSOUND SRC="guitar2.wav">
                 </pre>
                 </pre>
Netscape Navigator does not support this HTML tag, but uses the EMBED tag to play back a sound on a Web page, as in the following example:
Netscape Navigator does not support this HTML tag, but uses the EMBED tag to play back a sound on a Web page, as in the following example:
<pre class="codesample"><EMBED SRC=guitar2.wav hidden=true autostart=true loop=true&gt;
<pre class="codesample"><EMBED SRC=guitar2.wav hidden=true autostart=true loop=true>
                 </pre>
                 </pre>


Line 81: Line 81:
<div class="indent">
<div class="indent">


<p><BGSOUND SRC=&quot;<code>filename.wav</code>&quot;&gt;</p>
<p><BGSOUND SRC="<code>filename.wav</code>"></p>


</div>
</div>
Line 89: Line 89:
<div class="indent">
<div class="indent">


<p>'''<EMBED SRC=<code>filename.wav</code> hidden=true autostart=true loop=true&gt;'''</p>
<p>'''<EMBED SRC=<code>filename.wav</code> hidden=true autostart=true loop=true>'''</p>


</div>
</div>

Latest revision as of 13:50, 21 July 2020

Knowledge Base


PIP: Sounds Are Not Played in Netscape Navigator

Article ID: 248259

Article Last Modified on 12/28/2004



APPLIES TO

  • Microsoft Picture It! 2000 Standard Edition
  • Microsoft Picture It! Photo 2001 Premium Edition
  • Microsoft Picture It! Photo 2001 Premium Edition
  • Microsoft Picture It! Publishing 2001 Gold Edition
  • Microsoft Picture It! Publishing 2001 Platinum Edition
  • Microsoft Picture It! Publishing 2001 Silver Edition



This article was previously published under Q248259

SYMPTOMS

Sound files in Web pages and slide shows that you create using one of the programs listed at the beginning of this article may not be played when you open the Web page or slide show in Netscape Navigator version 4.0 or later.

CAUSE

This behavior occurs because Netscape Navigator and Microsoft Internet Explorer use different HTML tags to play back a sound file on a Web page, and PictureIt! 2000 uses the Internet Explorer tag by default.

To play back a sound on a Web page, Internet Explorer uses the BGSOUND tag, as in the following example:

<BGSOUND SRC="guitar2.wav">
                

Netscape Navigator does not support this HTML tag, but uses the EMBED tag to play back a sound on a Web page, as in the following example:

<EMBED SRC=guitar2.wav hidden=true autostart=true loop=true>
                

RESOLUTION

To resolve this issue, add the EMBED tag to the files you created.

  1. Click Start, point to Programs, point to Accessories, and then click Notepad.
  2. On the File menu, click Open, and then browse to the folder in which you saved the files you created.
  3. Click the Page.htm or Page1.htm file, and then click Open.
  4. On the Search menu, click Find.
  5. In the Find what box, type the following line, and then click Find Next

    <BGSOUND SRC="filename.wav">

    where filename.wav is the name of the sound file that you want to play when the Web page is opened.
  6. Click Cancel, press the END key, and then press ENTER.
  7. Type the following line:

    <EMBED SRC=filename.wav hidden=true autostart=true loop=true>

    where filename.wav is the name of the sound file that you want to play when the Web page is opened.
  8. On the File menu, click Exit. When you are prompted to save the changes, click Yes.

Repeat these steps for each .htm file that contains a sound file.

Sounds are now played when you open the Web page or slide show in both Internet Explorer and Netscape Navigator.


Additional query words: pi2k pictureit pip2001 audio music playback midi wave

Keywords: kbnofix kbweb kbprb kbmm kbhtml KB248259