jQuery( document ).ready(function() {
$('.video').hover(function() {
setTimeout(function(){
this.paused ? this.play() : this.pause();
$(this).get(0).currentTime = 0;
},2000);
});
});
有一个视频列表,我不明白如何解决这个问题。
jQuery( document ).ready(function() {
$('.video').hover(function() {
setTimeout(function(){
this.paused ? this.play() : this.pause();
$(this).get(0).currentTime = 0;
},2000);
});
});
有一个视频列表,我不明白如何解决这个问题。
1 个回答