Notifications with Sound?

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

 

 

Hi In the WiseJ Extensions.. the Notifications work great!.. but..

 

Can I add a Sound for this notification?, for example if you use the Whatsapp WebApp, every notification has a sound.

 

Is possible?..

Thanks

  • You must to post comments
0
0

Whatsapp either uses an html element or custom code in a plugin. The web notification api has a sound property but it’s not supported by any browser: https://developer.mozilla.org/en-US/docs/Web/API/notification/sound.

The Wisej Notification extension is to show desktop notifications, they are useful when the browser is minimized or behind another window since they show on your desktop. You can always play a sound using javascript:

var audio = new Audio("http://www.noiseaddicts.com/samples_1w72b820/2534.mp3");
audio.play();

Best,

Luca

 

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json