Thanks, Mary
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 3.1)
Moderator: Don_HH2K


<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="160" HEIGHT="16"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="src" VALUE="stopwomn.wav">
<PARAM name="autoplay" VALUE="true">
<PARAM name="controller" VALUE="true">
<PARAM NAME="volume" VALUE="90">
<PARAM NAME="type" VALUE="audio/x-wav">
</OBJECT>
<EMBED SRC="stopwomn.wav"
TYPE="audio/x-wav"
WIDTH="160"
HEIGHT="16"
VOLUME="90"
AUTOPLAY="true"
CONTROLLER="true"
PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED><object
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" value="any.wav" />
</object>



Ramona,Ramona wrote:Mary,
This is the code I use for an embedded WAV file on my Media Test Page. I use QuickTime for WAV files:
- Code: Select all
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="160" HEIGHT="16"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="src" VALUE="stopwomn.wav">
<PARAM name="autoplay" VALUE="true">
<PARAM name="controller" VALUE="true">
<PARAM NAME="volume" VALUE="90">
<PARAM NAME="type" VALUE="audio/x-wav">
</OBJECT>
<EMBED SRC="stopwomn.wav"
TYPE="audio/x-wav"
WIDTH="160"
HEIGHT="16"
VOLUME="90"
AUTOPLAY="true"
CONTROLLER="true"
PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
For cross browser compatibility I used both the Object and the Embed tags.




Antony wrote:Ramona,
I'd like to suggest you put the <EMBED>...</EMBED> between <OBJECT> and </OBJECT> as a common workaround for backward support.
For browsers supporting OBJECT Tag, the embed tag inside the OBJECT should be ignored. Some browsers supporting both, and by enclosing <embed> inside <object> will guarantee the same content won't be rendered twice.


maryjl wrote:I did go into Quick Time and checked the .wav extension box. However, if I do not render site to IE it doesn't work. I am perplexed!
Mary



<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
WIDTH="160" HEIGHT="16"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="src" VALUE="yourfile.wav">
<PARAM name="autoplay" VALUE="true">
<PARAM name="controller" VALUE="true">
<PARAM NAME="volume" VALUE="90">
<PARAM NAME="type" VALUE="audio/x-wav">
<EMBED SRC="yourfile.wav"
TYPE="audio/x-wav"
WIDTH="160"
HEIGHT="16"
VOLUME="90"
AUTOPLAY="true"
CONTROLLER="true"
PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>
Return to Web Design and Page Coding
Registered users: Google [Bot]
| [SillyDog701 home] [Netscape] [download NS] [MozInfo701] [MacCentre701] [Feedback] [Search] [Sitemap] All messages posted in this forum do not necessarily represent SillyDog701. This forum is operated by Antony Shen. All rights reserved. Copyright Notice. Privacy Statement. |