I’m finishing my pomodoro clock, and i try to use Notifications API.
So I actually got notifications work, but i wanted to play a quiet sound along with it.
The world would be beautiful to me if this was available in browsers.
I wonder what is the good way to do it? Any clues?
I thought i would append this to the website, and remove it after it played the sound, but i can’t make it work at all (even on the page load). I assume my url to the source is bad. Is it actually possible to pass the source as url?
<audio autoplay> <source src="http://www.freesound.org/people/knova/sounds/197226/download/197226__knova__kmntone4.mp3" type="audio/mp3"> </audio>
Maybe there’s other way i can’t think of?