是否有HTML5音频的onComplete时间? [英] Is there an oncomplete event for HTML5 audio?
问题描述
有一个的onComplete
事件HTML5音频?我找不到这个东西。我想它完成后播放声音。
好了,特别是我想通过声音一前一后的数组玩。 P>
感谢。
有是结束
事件。 。
<一个href=\"http://dev.w3.org/html5/spec/Overview.html#event-media-ended\">http://dev.w3.org/html5/spec/Overview.html#event-media-ended
下面是一些例子:<一href=\"http://forestmist.org/2010/04/html5-audio-loops/\">http://forestmist.org/2010/04/html5-audio-loops/
Is there an oncomplete
event for HTML5 audio? I could not find anything on this. I am trying to play a sound after it completes.
Well, specifically I am trying to play through an array of sounds one after the other.
Thanks.
There is the ended
event . . .
http://dev.w3.org/html5/spec/Overview.html#event-media-ended
Here are some examples: http://forestmist.org/2010/04/html5-audio-loops/
这篇关于是否有HTML5音频的onComplete时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!