阅读背景:

Html5 lazy 'onplay'事件处理程序用于音频标签?

来源:互联网 

With the new Html5 audio tag, the onplay event only seems to fire the first time the audio is played. In this example, when clicking "Play", the audio kicks off with an alert popup showing "Playing." When the audio has finished and "Play" is clicked again, the audio kicks off again but no alert is fired. Am I missing something here? Do I have to reset the audio somehow?With the new Html5 audio tag, the onplay event




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: