tryjsref_onseeked_audio 在线代码实例
<p>该实例演示了如何使用 HTML DOM 向 audio 元素添加 "onseeked" 事件。</p>
<p>移动音频到新的播放位置。</p>
<audio controls="" onseeked="myFunction()">
<source src="/statics/demosource/horse.ogg" type="audio/ogg">
<source src="/statics/demosource/horse.mp3" type="audio/mpeg">
您的浏览器不支持 audio 元素。
</audio>
<script>
function myFunction() {
alert("寻址操作完成!");
}
</script>