//I\'ve already tried this code but the result is not what I\'ve want.
$video.on(\'timeupdate\', function() { videoTimeFrame(this.currentTime, this.dura