有问题要调用两次timeupdate。 我的代码是:调用两次timeupdate
$("video").on(
"timeupdate",
function(event){
alert('work');
}
);
它的工作,但如果我这样做:
$('#video').html($('#newVideo').html());
前面的代码不工作。
我试下顺便也不起作用:
<video id="video">
`$(文件)。在( “timeupdate”, '视频',
的$(document)。委托( '视频',
$( “视频”)。绑定(,
$( “视频”).L元素越往上层次结构上IVE(`
这不适用于timeupdate。我也尝试:'$(document).on(“timeupdate”,'video', $(document).delegate('video', $(“video”)。bind( $(“video”)。生活(' –