You are here: 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