html notification sound code example
Example: play notification sound on chat js
function playSound(url) {
const audio = new Audio(url);
audio.play();
}
function playSound(url) {
const audio = new Audio(url);
audio.play();
}