Re: how to play .wav file

Hi!

----

"Bi, Xiaolian" wrote:

> Thanks for the replay, but I am not sure I get what you are saying. Let me
> explain my problem more, and maybe you ca help me more. Thanks in advance.
>
> I have a servlet that output an html file, in which I have a hyperlink to a
> .wav file. The html code related to wav file embedded in the servlet code
> looks something like this:
> ...
> <table>
> <tr>
> <td><a href="audio/wavfile.wav"><img src="images/sound.gif"></td>
> </tr>
> ...
>
> >From what I read from books, when the image file is clicked, the wav file is
> supposed to be played. And it indeed works that way with a personal web
> server (that comes with MicroSoft FrontPage). But in the Jigsaw environment,
> when the image file is clicked, it asks me whether I want to save the file.
> If I say yes, the file is downloaded to my PC (NT running netscape) and no
> audio is played. I will have to click on the .wav file on the PC to play it,
> which is not acceptable user interface.
>
> Do you know what's the problem? Any thing I need to configure/set?

Check if the file's mime-type is set to "audio/wav" or "audio/x-wav" (I don't
know
the right one - Netscape 4.61 Win32 has two entries).

If the file type was set to something like "application/octet-stream" there may
be
the problem that the default indexer has no entry for *.wav files. Then create
(.g. "wav") and set the mime-type (to one of audio/wav or audio/x-wav) that
later
index *.wav files get their correct mime-type.

Thats all. If you need more details, ask it in the jigsaw mailinglist...

----

Bye,
Roland


--
  __ .  . __
 (o.\ \/ /.o) Roland Mainz                               C/JAVA programmer
  \__\/\/__/  Roland.Mainz@informatik.med.uni-giessen.de MPEG specialist
  /O /==\ O\  gisburn@informatik.med.uni-giessen.de      Sun&Unix programmer
 (;O/ \/ \O;) TEL +49 (0) 641/99-13193  FAX +49 (0) 641/99-41359

Received on Friday, 20 August 1999 12:30:55 UTC