Sound/video helper applications and the "mailcap" file
  Technical note:    10301
  Created:           05/11/95 by Trip
  Last modified:     07/07/95 by Brian
  Product:           Netscape Navigator
  Operating system:  Unix (generic)
In order to play sound on a Unix system, you need a program named
"sox".  If you also want to do audio streaming from Netscape (that is,
be able to play the files while they are still downloading through the
network) you need a program named "xplay".

The lines in the "mailcap" file for these two utilities should read:

audio/x-wav; sox -t .wav - -t .au - | xplay -forkoff -; stream-buffer-size=8000
audio/*; xplay -forkoff -; stream-buffer-size=8000

To display MPEG video, you will need to have a MPEG player; other
video formats (including QuickTime) can be handled by "xanim".  Be
sure to have this line in the "mailcap" file:

video/*; xanim +Ca +CF4 -Cn %s

To find out where Netscape´s "mailcap" file is, go into the Netscape
Preferences and go down to the "Helper Applications" section.  The
complete path to the file will probably be something like
"/usr/local/lib/netscape/mailcap".

You can override the settings in the normal "mailcap" file (which
might be installed somewhere where you can´t modify it, or where you
wouldn´t want to modify it) by creating a file named ".mailcap" in
your home directory.  Here´s a sample ".mailcap" file:

audio/x-wav; sox -t .wav - -t .au - | xplay -forkoff -; stream-buffer-size=8000
audio/*; xplay -forkoff -; stream-buffer-size=8000
video/*; xanim +Ca +CF4 -Cn %s
application/postscript; ghostview %s
application/x-dvi; xdvi %s

Back to: Netscape Navigator Technical Notes

MacOS/ Windows
Netscape 0.x browser archive Ξ Netscape 2.x browser archive Ξ Netscape 3.x browser archive
Netscape 4.x browser archive Ξ Netscape 4.5 browser archive Ξ Netscape 4.6 browser archive
Netscape 4.7 browser archive Ξ Netscape 6.x browser archive Ξ Netscape 6.2 browser archive


© 1995 Netscape, All Rights Reserved.
© 1996-2008 H.R. Communications Corp. networks, All Rights Reserved
This site powered by H.R. Communications Corp. networks Secure servers.