HTML5 video player enhanced script

Video enhancement script, supports all H5 video websites, such as: Bilibili, Douyin, Tencent Video, Youku, iQiyi, Xigua Video, YouTube, Weibo Video, Zhihu Video, Sohu Video, NetEase Open Course, Baidu network disk, Alibaba cloud disk, ted, instagram, twitter, etc. Full shortcut key control, support: double-speed playback/accelerated playback, video screenshots, picture-in-picture, full-screen web pages, adjusting brightness, saturation, contrast

< Feedback on HTML5 video player enhanced script

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.