Greasy Fork is available in English.

HTML5视频播放器增强脚本

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

< Feedback on HTML5视频播放器增强脚本

Review: Good - script works

§
Posted: 2024-02-17

Great script and I've been using it for a long while but I was wondering... I think we were able to screenshot a moment in video as PNG format (also known as saving it losslessly), but after a certain update it changed into saving as JPG/JPEG format instead, is there any chance to revert it back to PNG?

ankvpsAuthor
§
Posted: 2024-02-18
§
Posted: 2024-02-19

Hello

Whoa, it sounds like a really great script to enhance HTML5 video players! It's very amazing how many different video websites it supports, including well-known ones like YouTube, Tencent Video, and Instagram. Additionally, there are many features available, including picture-in-picture, double-speed playback, complete shortcut key control, and brightness, saturation, and contrast adjustments. Anyone watching videos online seems to have a much better experience with this script. I appreciate you giving this information.

Regards
David Warner
https://www.prestigerockcliff.org.in/

§
Posted: 2024-02-25

You have to manually edit the script, it's really easy to do. Go to line 3698, you will find the following code:

    el.download = `${title}.jpg`;
    el.href = URL.createObjectURL(blob);
    el.click();
  }, 'image/jpeg', 0.99);

You just have to replace the words "jpg" and "jpeg" with "png". The result should be like this:

   el.download = `${title}.png`;
    el.href = URL.createObjectURL(blob);
    el.click();
  }, 'image/png', 0.99);

Post reply

Sign in to post a reply.