1

I want to show push notification from my web app in windows with custom sound like in WhatsApp Web. Also I want to accomplish this when the tab is inactive. So I can't use Audio() for playing my custom notification sound due to this reason.

var notification = new Notification("Hi there!");

I'm able to show notification with default sound with above code. But how to play custom tone ?

Chamod
  • 587
  • 2
  • 6
  • 17

0 Answers0