Greasy Fork is available in English.

HTML5视频播放器增强脚本

视频增强脚本,支持所有H5视频网站,例如:B站、抖音、腾讯视频、优酷、爱奇艺、西瓜视频、油管(YouTube)、微博视频、知乎视频、搜狐视频、网易公开课、百度网盘、阿里云盘、ted、instagram、twitter等。全程快捷键控制,支持:倍速播放/加速播放、视频画面截图、画中画、网页全屏、调节亮度、饱和度、对比度、自定义配置功能增强等功能,为你提供愉悦的在线视频播放体验。还有视频广告快进、在线教程/教育视频倍速快学、视频文件下载等能力

< Отзив за HTML5视频播放器增强脚本

Въпрос/коментар

§
Публикуван на: 27.08.2022
Редактиран на: 27.08.2022

The screenshot feature worked fine until recently. After recent update, taking a screenshot on Youtube by pressing "Shift+S" would cause the video to pause, and the user has to manually play the video again.

ankvpsАвтор
§
Публикуван на: 28.08.2022

The screenshot feature worked fine until recently. After recent update, taking a screenshot on Youtube by pressing "Shift+S" would cause the video to pause, and the user has to manually play the video again.

回头在优化下

§
Публикуван на: 28.08.2022
Редактиран на: 28.08.2022

回头在优化下

Btw, I look into the source code, and it seems that this bug is caused by the codes between line 4004 to line 4012:

// 截图并下载保存
if (key === 's') {
  videoCapturer.capture(player, true);

  /* 暂停画面 */
  if (!player.paused) {
    t.freezeFrame();
  }
}

The codes between line 4009 and line 4011 are added in version 3.4.2, which cause the video to pause after making a screenshot. If this is actually an intended feature, maybe it'll be better to create a toggle switch and let users switch it on/off based on their preference. Anyway, I really appreciate this awesome project. Thanks for your hard work!

ankvpsАвтор
§
Публикуван на: 29.08.2022

回头在优化下

Btw, I look into the source code, and it seems that this bug is caused by the codes between line 4004 to line 4012:

// 截图并下载保存
if (key === 's') {
  videoCapturer.capture(player, true);

  /* 暂停画面 */
  if (!player.paused) {
    t.freezeFrame();
  }
}

The codes between line 4009 and line 4011 are added in version 3.4.2, which cause the video to pause after making a screenshot. If this is actually an intended feature, maybe it'll be better to create a toggle switch and let users switch it on/off based on their preference. Anyway, I really appreciate this awesome project. Thanks for your hard work!

v3.4.3版本已修复了该问题,在能正常截图的网站下不会强制暂停画面了

Публикувайте отговор

Влезте, за да публикувате отговор.