.wav files not playing in netscape 8.1

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

.wav files not playing in netscape 8.1

Postby maryjl » Sat 04 Mar, 2006 10:45 pm

Hello, I am developing a website using Notepad. Included is a .wav file that will not play in Netscape after uploading. Tried <embed> and <object> and neither worked. With the <embed> tag a little jigsaw image appears. Thought I needed a plugin so installed Quick Time but that hasn't worked either. What a mess! I am totally confused and fed up. Any ideas. .wav files work in IE.

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)
maryjl
new member
new member
 
Posts: 4
Joined: Sat 04 Mar, 2006 10:23 pm

Postby Fulvio » Sat 04 Mar, 2006 11:18 pm

1. IE is part of the operating system, and if Windows Media Player is installed, it will handle .wav files.
2. I don't know if Quicktime can handle .wav files. But, I would expect that the file play with the program it was design to play with.
3. I am not sure if NS8.1 requires a Windows Media Player plugin, but, I happen to have the npdsplay.dll which comes from Windows Media Player.
Have you tried to use NS8.1 in the IE Mode.
I don't know how to program, but I have everything I need to make any program work, unless the website does not allow.
My suggestion will not help, most likely, and wait for someone with programming experience, but you may need to reinstall Windows Media Player.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Hypnomantis Firefox/1.5.0.1
A minority may be right, and a majority is always wrong
~ Henrik Ibsen
WinXP, SP3, 512 MB, SM2.9.1, FF12, TB12.0.1, IE8.0, Google Chrome18, Ghostwall , Avast 7.x, JRE1.7_04. Testing FF13b3
User avatar
Fulvio
Moderator
Moderator
 
Posts: 11914
Joined: Wed 19 Jun, 2002 10:08 am

Welcome to the Forum, maryjl!

Postby Ramona » Sun 05 Mar, 2006 3:47 pm

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.

If you would rather use Windows Media Player you can use this Class ID:

Code: Select all
<object
classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
<param name="FileName" value="any.wav" />
</object>


See this excellent resource for more information: Web Multimedia Tutorial W3 Schools.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

.wav file

Postby maryjl » Sun 05 Mar, 2006 7:20 pm

Hello,
Thanks for your wonderful response. I copied/pasted code into my web page. It works great in IE but not in Netscape 8 for me. Says I need additional plugins even though I have Quick Time installed.
Have gone the route of embed too and have same response by netscape.
Would like .wav file to work in both browsers.
Think it has something to do with my Netscape but don't have a clue what it is.....so frustrating.
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)
maryjl
new member
new member
 
Posts: 4
Joined: Sat 04 Mar, 2006 10:23 pm

.wav file update

Postby maryjl » Sun 05 Mar, 2006 8:12 pm

Hi,
I am back again. I tweaked Netscape8 in SecurityCenter/Site control tab and checked on the IE button. That has worked for me. However, I had to delete the <embed> tag in the code as it was then played double.
Makes sense? My concern is viewers will have same problem that I have had in Netscape 8.

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)
maryjl
new member
new member
 
Posts: 4
Joined: Sat 04 Mar, 2006 10:23 pm

Postby Don_HH2K » Sun 05 Mar, 2006 8:26 pm

I have a feeling that even though you installed QuickTime, it might not have automatically registered itself to play back wav files from Web sites. You can verify this by going into Control Panel -> QuickTime; on the Browser tab there's a button that says "MIME Types", and within that you can specify what the QuickTime Plugin can and can't play back. You can select WAVE files from under the "Audio" drop-down.

The reason you got the double-sound effect was because <object> and <embed> will function as two different tags if they're both inserted. Both are supported by the two main browsers, namely Internet Explorer and Netscape, but <object> is most likely the way to go, as it's the 'official' way to do it as of the W3C's specification for HTML. <embed> is supported by both Internet Explorer and Netscape, but it may not function properly in some browsers that don't support it, since it isn't a standard element.

The problem with opting to use IE for rendering within Netscape 8 is that you get the exact same result that you'd get with Internet Explorer -- users of other browsers, or Netscape 8 without having opted to render with IE, would most likely still have the same problem.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 Donzilla/1.1PR1 (WML/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Re: Welcome to the Forum, maryjl!

Postby Antony » Sun 05 Mar, 2006 8:36 pm

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.
Ramona,
I'd like to suggest you put the [tt]<EMBED>...</EMBED>[/tt] between [tt]<OBJECT>[/tt] and [tt]</OBJECT>[/tt] as a common workaround for backward support.

For browsers supporting [tt]OBJECT[/tt] Tag, the embed tag inside the [tt]OBJECT[/tt] should be ignored. Some browsers supporting both, and by enclosing [tt]<embed>[/tt] inside [tt]<object>[/tt] will guarantee the same content won't be rendered twice.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
User avatar
Antony
diamond member
diamond member
 
Posts: 14508
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby maryjl » Sun 05 Mar, 2006 8:57 pm

Hi Don,
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
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)
maryjl
new member
new member
 
Posts: 4
Joined: Sat 04 Mar, 2006 10:23 pm

Postby Ramona » Mon 06 Mar, 2006 12:08 am

Mary,

How about a link for your page...

I tested my embedded wav file page in Netscape 8.1 and it works as well as Firefox 1.5.0.1.

You might have more than one application set to play WAV files, so you might check that out as well.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

Postby Fulvio » Mon 06 Mar, 2006 12:24 am

Just to add to confusion, WAVE audio is not checked in Quicktime, nor in WMP, for that matter. and, it is not a registered File Type.
However, Ramona test file open with a big Q, indicating that Quicktime is being used. I am doing this in NS8.1, Firefox mode, and have no pquicktime .dlls in the plugins folder.
I am using Seamonkey1.0, so, i would expect that it work in any other browser. I am using Quicktime7.0.4, which came with my iTunes6.0.4 installation.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0
A minority may be right, and a majority is always wrong
~ Henrik Ibsen
WinXP, SP3, 512 MB, SM2.9.1, FF12, TB12.0.1, IE8.0, Google Chrome18, Ghostwall , Avast 7.x, JRE1.7_04. Testing FF13b3
User avatar
Fulvio
Moderator
Moderator
 
Posts: 11914
Joined: Wed 19 Jun, 2002 10:08 am

Postby Ramona » Mon 06 Mar, 2006 2:17 am

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.


Thanks Antony, as I always value your input. :)
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

Postby macallan1824 » Mon 06 Mar, 2006 5:53 pm

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

A couple of queries, type about:plugins as a URL then:-
  1. do you have several entries for Quicktime...?
  2. if you search on WAV do you have an entry for mime/wav ...?
  3. what ver of QT are you using.....?
I've found that QT7 doesn't always seem to setup the Netscape plugins to support wav files, even after you have checked in the configuration. Ver 6.5.2 however always seems to work fine.....
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20060111 Netscape/8.1
User avatar
macallan1824
senior member
senior member
 
Posts: 122
Joined: Thu 29 Sep, 2005 5:32 am

Postby Ramona » Wed 08 Mar, 2006 1:32 am

Mary, et al,

I noted on the W3School site that there were some changes when viewing the Object Tab information. According to the site, both Netscape and IE recognize the Object Tag, but I was of the understanding that the EMBED tag had to be included for Netscape/Mozilla/Firefox and now SeaMonkey to play the sound files.

NOT! The Object Tag is all that is necessary to play in any of these browsers:
Netscape 7.2
Netscape 8.1
Mozilla 1.7.12
SeaMonkey 1.0
Internet Explorer

This is my test page, which I was able to hear the WAV file in each of the above listed browsers: Object Tag Test.
So Mary, delete the EMBED Tag, and you should be fine...

I learn something new each day!
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

Postby akbash » Fri 10 Mar, 2006 11:22 am

I believe the Embed tag's main use is compatibility with Navigator 4. It's traditional to use both it and Object to catch the widest possible audience. As you say maybe it's time to cut loose from Navigator 4, but it doesn't really hurt anything to specify both. You must be careful though to nest them, thus preventing particularly astute browsers from displaying the plugin twice.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060305 Firefox/1.5
akbash
silver member
silver member
 
Posts: 364
Joined: Mon 09 Feb, 2004 9:13 pm

Postby Ramona » Fri 10 Mar, 2006 8:50 pm

You are so right! If you want backward compatibility, and I do, then you must do as you said, nest the embed tag within the object tag... Only the newest browsers will recognize just the object tag.

Thus:
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="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>


Still learning..... :oops:
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

Next

Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]

cron