Solved

can't EMBED a sound file

Posted on 1998-09-22
7
282 Views
Last Modified: 2010-04-09
i have the following codes in one of my html file:-

<embed src="spacemusic.au" height="2" width="2" autostart="true" loop="true"></embed>

it works fine in IE (i tried WAVs, MIDs and AUs) but not in netscape4 (no sound at all)..the following is configured as the mime-type in Netscape-
extension: WAV
MIME: audio/wav
handled by: Rundll32

why wouldn't it work in netscape.
0
Comment
Question by:eriklee
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Expert Comment

by:development
Comment Utility
have you tried adding volume=70 or something that will give some sound :)
0
 

Accepted Solution

by:
jervis earned 50 total points
Comment Utility
Well it's not how the mime-type is configured in Netscape, the actual Problem is: what mime-type is sent to netscape from the server when you request the "spacemusic.au"?

For a quick fix, try this:

<embed src="..." height=2 width=2 autostart=true loop=true type="audio/wav">

by the way: are you sure that .au is audio/wav? in my netscape this is linked to the "audio/basic" mime-type. check your plugins page (enter "about:plugins" as url)

0
 
LVL 1

Expert Comment

by:development
Comment Utility
Jervis:
AU is audio.  Its playable on unix and pc's alike
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:jervis
Comment Utility
.au is the sun audio format and it's not compatible with the normal .wav format used by microsoft (also known as RIFF WAVEfmt, which is the text in the header of an .wav file).

to make things worse, netscape also supports the aiff (or iff-audio) file format for playing audio, which comes from the amiga.


0
 

Author Comment

by:eriklee
Comment Utility
hi Jervis,
u gave me some very good pointers..  The only reason Netscape didn't work is there is no helper-application configured (as hinted by u). So i installed BEATNIK - don't ask me why it's just that i plucked Beatnik out of a list of suggested plugins from the netscape site.

However after installing beatnik - i checked the mime helper application within netscape -- audio/mid is still being handled by Rundl32 (which is a microsoft thingy). I tried to followed the instruction from Beatnik to change the helper for midi but the Preferences-panel only has 'application' as an attribute nothing for "plugins". Beatnik is a java thingy with a class file beatnik.class in c:\program files\netscape\communicator\Plugins\  and u can't put this file into the helper-application.

So, even with all this confusion with defining the helper.. netscape/beatnik can still play the midi sound if you double click on the embeded-sound to play even when autostart is true. And when u load a html file with mid or rmi files, java is loaded - suggesting beatnik.class was loaded.

added 20 more points for some more comments. thanks

0
 

Expert Comment

by:jervis
Comment Utility
on my browser, the default plugin to handle audio/midi is still LiveAudio. this plugin comes with the complete communicator package.

there is a difference between plugins, which handle mime-type in your browser window (more or less) and application mime-types. when netscape has downlaoded a file it has no internal plugin for then it searches the application database. if it finds a match in mime-type there, it asks if it should launch the external application with that file.

you cannot change the mime types the plugins handle, you can just view them with typing "about:plugins" in the URL field or by selecting "help->about plugins" in the menu.

maybe you should try SmartUpdate to install the LiveAudio plugin. It cannot be downloaded via the plugins page, because this plugin comes bundled with your navigator4/communicator package.
check: http://home.netscape.com/download/su1.html?cp=downlsmup

0
 

Author Comment

by:eriklee
Comment Utility
thanks i think i will reinstall Netscape communicator for LIveaudio.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now