标签:
var i = setInterval(function() { if(video.readyState > 0) { var seconds = video.duration % 60;//分 var minutes = parseInt(video.duration / 60, 10);//秒
console.log(seconds); }}, 200);
监测视频的总播放时长
原文地址:http://www.cnblogs.com/pannyR/p/5492927.html