Playing sound notifications using Javascript?

audio, javascript, jquery

Solution

Use this plugin: https://github.com/admsev/jquery-play-sound

$.playSound('http://example.org/sound.mp3');

Problem

How can I do that, so whenever a user clicks a link we play a sound? Using javascript and jquery here.

Original source

Related problems