Sound notification in web page

1 · Minko Gechev · Nov. 1, 2011, midnight
Few days ago I was creating a system in which it was necessary to implement a sound notification feature. Well it’s not very hard task but of course you have to be careful with the browser compatibility. At first my source was something like that: playSound: function () { this.config.soundNotify.html('<embed src="' + this.config.soundFile + '.wav" hidden=true autostart=true loop=false>'); } Actually in my Linux it was working pretty well (I tried it mainly in Chrome)....