W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1999

Re: how to play .wav file

From: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>
Date: Fri, 20 Aug 1999 18:30:41 +0200
Message-Id: <37BD82B1.1EBF5C5A@informatik.med.uni-giessen.de>
To: "Bi, Xiaolian" <xbi@tri.sbc.com>
CC: "'www-jigsaw@w3c.org'" <www-jigsaw@w3c.org>



"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
the right one - Netscape 4.61 Win32 has two entries).

If the file type was set to something like "application/octet-stream" there may
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
index *.wav files get their correct mime-type.

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



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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:27 UTC