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>
> ...

Does the servlet generate the audio file ?? Then you have to set the mime-type
in the servlet, e.g. ServletResponse.setContentType().

Otherwise run JigAdmin(2), open the resource which matches the the
"audiofile.wav" and check the HTTPFrame if "mime-type" is set to "audio/wav"
and not to something like "application/octet-stream".

If you want to change this for all other *.wav files, step into JigAdmin(2),
select
the "Indexers" panel and create a new file resource "wav" which contains the
settings (including the mime-type) for *.wav-files.
Any new indexed file will contain the correct mime-type...

----

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 14:12:55 UTC