Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

can't EMBED a sound file

Posted on 1998-09-22
7
Medium Priority
?
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 1

Expert Comment

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

Accepted Solution

by:
jervis earned 150 total points
ID: 1838015
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
ID: 1838016
Jervis:
AU is audio.  Its playable on unix and pc's alike
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Expert Comment

by:jervis
ID: 1838017
.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
ID: 1838018
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
ID: 1838019
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
ID: 1838020
thanks i think i will reinstall Netscape communicator for LIveaudio.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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…

670 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