How to Play Web Video at Double Speed

Videos on many web pages do not support double-speed playback, and it is too troublesome to download plug-ins for Google Chrome

How to make the browser play at double speed without downloading the plug-in

  • Requirements: must be an HTML player

first step:

On the video page, press the F12 key

or right mouse click to inspect

click console

Step two:

Enter the following code, paste it into the blank space of the console, and press Enter. The last number is the playback speed, which is triple speed now.

document.querySelector('video').defaultPlaybackRate = 2.0;
document.querySelector('video').play();
document.querySelector('video').playbackRate = 3.0;  


That's double the speed

				 学习的时光总是短暂,又到了时候说拜拜
						欢迎关注公众号  oldCode
							获取新鲜教程资料

insert image description here

Guess you like

Origin blog.csdn.net/buruyang/article/details/108821847