视频直接跳过

/* play video twice as fast */
document.querySelector('video').defaultPlaybackRate = 100.0;//默认两倍速播放
document.querySelector('video').play();

/* now play three times as fast just for the heck of it */
document.querySelector('video').playbackRate = 100.0;  //修改此值设置当前的播放倍数
function skip() {
    let video = document.getElementsByTagName('video')
    for (let i=0; i<video.length; i++) {
        video[i].currentTime = video[i].duration
    }
}
setInterval(skip,200)