浏览器在线视频播放加速⽅法——直接修改⽹页代码实现加速
xquery
本⽂为转载
现在有不少的视频⽹站,⾃带了播放加速的功能,例如油管、bilibili、慕课等等。
在⼀些付费的⽹站中,⼀些⾃带的播放器是不⽀持视频加速的,因为已经被加速惯坏,变得很不习惯,在⽹上查阅资料,也找到了在线视频的加速的解决⽅法,这边做⼀个记录。
a couple of⼀、html5播放器
aunty主要标志是****标签,这种是最⽅便实现加速的,因为原⽣⽀持。
defaultPlaybackRate (float): The playback speed at which the video should be played
tinkerbell
大学英语四六级网考playbackRate (float): The current playback speed: 1.0 is normal, 2.0 is two times faster
forward -3.0 is three times faster backwards and so on
会计职能
可以在对应的⽹页console中加⼊以下js代码实现视频加速()
makebelieve
vulnerable/* play video twice as fast */
document.querySelector('video').defaultPlaybackRate = 2.0;//默认两倍速播放
document.querySelector('video').play();
/* now play three times as fast just for the heck of it */
document.querySelector(‘video’).playbackRate = 3.0; //修改此值设置当前的播放倍数
1
2
3
国家汉办官方网站4
5
6
按F12找到对应的播放标签,如图所⽰是标签,也可选择左上⽅的选择按钮快速找到标签
balu
点击console,在下列复制代码点击回车则可以看到播放的视频已经加速了
⼆、flash播放器
此类播放器的加速的⽅案我还未实践过,待实践过更新。可参考以下资料了解()
</div>
<link href="csdnimg/relea/phoenix/mdeditor/markdown_views-095d4a0b23.css" rel="stylesheet"> </div>
</article>