Features 功能
This script allows you to control video playback rate and fast-forward on HTML5 video players. Press and hold the right arrow key (→) to triple the playback speed. Release the key to restore the original rate. A single press of the right arrow key will fast-forward the video by 7 seconds. You can adjust the speed rate and fast-forward duration by modifying the faster_rate
and add_time
variables in the script.
此脚本可在HTML5视频播放器上控制视频播放速度和快进。按住右箭头键(→)将播放速度提高三倍。松开键恢复原始速率。单击右箭头键将视频快进7秒。您可以通过修改脚本中的faster_rate
和 add_time
变量来调整速度率和快进持续时间。
Support 支持
The script supports all websites that use HTML5 video players, such as YouTube, Douyin, Tencent Video, Youku, and more. If the script interferes with the website's original shortcut functions, you can exclude the current website in the Tampermonkey settings.
此脚本支持所有使用HTML5视频播放器的网站,如YouTube、抖音、腾讯视频、优酷等。如果脚本干扰了网站的原始快捷键功能,您可以在Tampermonkey设置中排除当前网站。
提醒:B站已官方支持长按调速。如果在B站使用此功能有延迟,您可以在播放器右下角的“播放设置-更多播放设置”中,将播放策略更改为AVC并刷新页面。
Others 其他
You're welcome to publish upgraded versions of this script or incorporate it into existing video tool scripts.
欢迎发布本脚本的升级优化版,或将其合并到现有的视频工具脚本中。
References 参考
This script was inspired by the "HTML5 Video Player Mini Tools" available at: https://bbs.kafan.cn/thread-2093014-1-1.html
此脚本的灵感来自于“HTML5视频播放小工具”,可在以下网址查看:https://bbs.kafan.cn/thread-2093014-1-1.html