i have done it this way (JavaScript + embed): (maybe not be the right way but it works for me)

in my index.html:



<embed src="resources/assets/notify.mp3" autostart="false" width="0"...