Audible Alert Tone

Is it possible to create a script that can play an audio file when a condition is met? We were asked if a dashboard could play an audio alert when a certain threshold is met. After searching the help forums and documents on Dundas BI's help section I dont see anything about setting up audio alerts.


The example I am thinking of would be a script on "Data Changed" along the lines of if data is >= "x" play alert.mp3.


Thanks in advance.

You can use the <Audio> HTML5 element. For example, I put the following on the click event of a button:


var audio = new Audio("http://www.wavlist.com/soundfx/020/clock-alarm2.wav");
audio.play();