This project is much like the chat room in the Construct examples. I added quite a few things to it, but the one that is giving me problems is the notifications.
Whenever another person sends a message, you would hear a "bleep". Unfortunately, this will not work if I don't have it in view in the browser, or if it is minimized. However, whenever I switch back to tab, I would get hit with a wall of notifications.
here is a screenshot of this particular code:
On a side note, I tried exporting this as NW.js and sound didn't play at all, even in focus
Thanks in advance!