Page 1 of 1

No audio alert

Posted: Tue Apr 01, 2014 4:29 am
by lkthomas
Hi all,

I found something very interesting, currently I am running Ubuntu 12.04 + VLC web plugin.

Web audio sound alert doesn't work, after couple hours of troubleshoot, I found out the problem is from this source code:

working (modified):
<object type="audio/x-wav" data="/nagios/media/service_warning.wav" height="-" width="1"><param name="filename" value="/nagios/media/service_warning.wav"><param name="autostart" value="true"><param name="playcount" value="1"></object>

not working (original code from nagios):
<object type="audio/x-wav" data="/nagios/media/service_warning.wav" height="-" width="0"><param name="filename" value="/nagios/media/service_warning.wav"><param name="autostart" value="true"><param name="playcount" value="1"></object>


so basically width can't be zero, is it a bug or something?

Re: No audio alert

Posted: Tue Apr 01, 2014 9:43 am
by scottwilkerson
I believe this was a bug in some browsers. I have committed code for the next release that makes the height and width 1px each.
http://sourceforge.net/p/nagios/nagiosc ... c9ab9d397/

Thanks