Application/wav

Looking for a solution to this “feature”. I see the change in
the diffs and logs for tac.c and status.c. And I will assume
that there is a good reason :slight_smile: But how do I get all our browsers
on Win/OSX/Linux/Solaris/etc to deal with application/wav instead
of application/x-mplayer2 or audio/wav ??

Just to add to this. It is very very clear at this point that the redefinition
breaks the ability of the standard browser handling of wav files.

When in doubt fix the code… :slight_smile:

$ cvs -d:Pserver:[email protected]:/cvsroot/nagios login

$ cvs -z3 -d:Pserver:[email protected]:/cvsroot/nagios co -r nagios-3-0-3 nagios

$ vi tac.c status.c

$ ./configure
$ make cgis

$ cvs diff status.c
Index: status.c

RCS file: /cvsroot/nagios/nagios/cgi/status.c,v
retrieving revision 1.75
diff -r1.75 status.c
441c441
< printf(“<object type="application/wav" data="%s%s" height="0" width="0">”,url_media_path,sound);

          printf("<object type=\"audio/wav\" data=\"%s%s\" height=\"0\" width=\"0\">",url_media_path,sound);

$ cvs diff tac.c
Index: tac.c

RCS file: /cvsroot/nagios/nagios/cgi/tac.c,v
retrieving revision 1.31
diff -r1.31 tac.c
326c326
< printf(“<object type="application/wav" height="-" width="0">”);

          printf("<object type=\"audio/wav\" height=\"-\" width=\"0\">");

hmmmm audio/wav didn’t work for me. I upgraded from a beta3.01 to 3.0.4 when it broke … so i changed it to application/x-mplayer2 which fixed it!! Got my sounds back in FF3/IE6 Win!!