-
html5中为audio标签增加停止按钮动作实现方法
在html 5中的audio标签中,只有暂停按钮,但没有停止按钮,其实为其增加也不麻烦,方法如下: 复制代码代码如下: HTMLAudioElement.prototype.stop = function() { this.pause();
在html 5中的audio标签中,只有暂停按钮,但没有停止按钮,其实为其增加也不麻烦,方法如下: 复制代码代码如下: HTMLAudioElement.prototype.stop = function() { this.pause();