I need to start a sound effect at will... I need it to be stopped as well before it is over. 开发者_如何学运维 I'm doing this all in JavaScript. How would I go about this? I've never used sounds before in a page (normally not a good thing to use sounds, this project requires me to).
Any help would be appreciated :)
If it means anything, I'm also utilizing jQuery.
If you're using jquery, have you tried the sound plug-in?
You may want to look into SoundsManager2
精彩评论