leohxj
8/20/2013 - 3:03 AM

取整

取整

videoDuration = parseInt(video.duration);
videoDuration = video.duration.toFixed(0);