No need for plug-ins to accelerate videos, "skip ads", play videos at double speed, and play videos at double speed in Chrome and other browsers

background:

        I recently discovered something very interesting. The specific background is that when I was watching the instructional video of station B, the 2x speed was too slow. However, station B only supports 2x speed and cannot be adjusted manually, so I wanted to find a chrome acceleration plug-in. Since I'm not very good at finding this type of resources, most of the ones I found were paid, so I thought of what I had learned. The video tag attribute of HTML should have a speed adjustment, so I found the playbackRate attribute value. Then I will talk about the specific implementation method, which is extremely simple. (I didn’t go into it because I didn’t have too many demands. It meets my current needs to watch videos at 2.5 or 3 times speed)

Scenes:

①Watching videos on the computer browser does not work on the mobile phone, and it should not work on the client either. I haven’t tried it yet.

②Idiots who don’t know how to find accelerator plug-ins

③When watching videos, you cannot adjust the speed you want or the page does not support it.

④ I want to skip the advertising part, but I don’t have a membership (it should be all gone now. Basically, you need a membership to see it. You can try the exclusive advertising for members. I haven’t tried it yet)

⑤ Certain learning videos are not allowed to be watched at double speed, such as senior learning? (I don’t recommend doing this. Students should study seriously, dog head.jpg)

Implementation:

step one:

Press the F12 key on the corresponding video website, and then click the console button:

Step 2:

Copy first (CTRL+C)

document.querySelector("video").playbackRate =2.5

For this part, CTRL+V where the cursor flashes, and then press the Enter key.

Note:

document.querySelector("video").playbackRate =2.5

The 2.5 here is the required speed, the highest is 16

② Taking a certain Qiyi as an example, the first advertisement is multi-segment and needs to be entered several times.

document.querySelector("video").playbackRate =16 

Then press Enter to skip one by one.

③Once the code is entered, the next video will return to the default playback speed. Just open it with F12 and press the ↑ buttons up, down, left, and right on the keyboard at the cursor to enter. There is no need to re-paste the assignment.

Guess you like

Origin blog.csdn.net/weixin_54515240/article/details/129559395