开发者

Starting and stopping a sound with Javascript

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜