I have a menu with a mouseouver event that launches an audio file to start playback. The problem is that the user points to another different link in the menu, the sound plays again.
I'm trying to figure out how to play only one sound at a time? i.e. wait until the current sound finishes playing before restarting?
Any ideas?
Here is the code that I have at the moment. It uses the jQuery.sound.js plugin.
.mouseover(function(){
$.fn.soundPlay({url: 'images/casino.wav'});
})
Hooray! December
source
share