Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q191

irt.org | About | Feedback | 3206 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q191

Sent by
McNeal Maddox on October 01, 2001 at 13:35:24:

Worth:
Worth reading

Comments:
It should be noted that the MASTERSOUND attribute must be included in the EMBED tag in order to reference the .wav file by NAME in a Javascript. In Netscape 4 (testing for backward compatibility), adding the NAME attribute to the EMBED tag without an accompanying MASTERSOUND declaration prevented the sound from playing automatically:

<EMBED SRC="sound.wav" AUTOSTART="TRUE" LOOP="FALSE" WIDTH="0" HEIGHT="0" ALIGN="CENTER">

However, adding the MASTERSOUND attribute allowed the sound to play automatically on page load and made the .wav file's playback accessible to script control:

<EMBED NAME="wavfile" SRC="sound.wav" AUTOSTART="TRUE" LOOP="FALSE" WIDTH="0" HEIGHT="0" ALIGN="CENTER" MASTERSOUND>


Other feedback on 'irt.org FAQ Knowledge Base Q191' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.