Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fabdulazeez
Partner - Creator III
Partner - Creator III

SOUND FROM QLIK SENSE

Hi ,

Can anyone get me sample where i can play a sound when new data arrives on refresh.I am seeing options in qlik view. But inned to play sound in sense

1 Reply
buffalome90210
Contributor III
Contributor III

Hello Fawaz, I also was looking for some info on playing sounds.

This is what I have so far:

The below snip of javascript will work. It uses the play() method.

HOWEVER, It will ONLY work if you you build the HTML page and display it in I.E. It will not work in Chrome, Not Qlik sense as we know it. This is proof of concept that it can be done, and does work. The issue appears th be in CHROME that security setting prevent the access of a local file. In Qlik Sense I suspect it is a security issue as well.

I will keep playing with this, let me know if you dig up anything else.

terence

mybutton5.addEventListener ("click", function() {

// alert("play souind")

var bflat = new Audio();

bflat.src = "File://localhost/c:/Exterminate.mp3";

bflat.play();

});