Skip to content

This software supports all audio and video websites, such as TikTok, YouTube, Bilibili, TED, Instagram, Twitter, etc. Features include: variable playback speed, screen capture, video download, custom settings, and extensions, etc., providing you with a pleasant online audio and video playback experience.

License

Notifications You must be signed in to change notification settings

sg1-code/h5player_mod

 
 

Repository files navigation

h5player for tampermonkey

Web Player Enhancement Script

Introduction

This script enhances video playback and is compatible with all H5 video websites, such as: Bilibili, TikTok, Tencent Video, Youku, iQIYI, Xigua Video, YouTube, Weibo Video, Zhihu Video, Sohu Video, Netease Open Class, Baidu Netdisk, AliYun Disk, TED, Instagram, Twitter, and so on.

The script allows keyboard shortcuts for full course control, supporting functions like speed control for playback, video screenshot, picture-in-picture, webpage full screen, adjusting brightness, saturation, contrast, enhanced customization configurations availability, providing you a pleasing online video playing experience.

Moreover, it also offers the ability to fast forward short pre/post rolls, speed up learning from online tutorials/educational videos, and privately store offline audio and video files.

Application Scenarios

  • Endless speed control: control the rhythm freely, no matter how fast or slow.
  • Speed learning: Stay one step ahead with high-speed tutorial and lecture viewing.
  • Enjoy drama: Turn tedious viewing into joyful experience.
  • Quick short films: Say goodbye to boring waiting.
  • Video screenshot: Archive notes, clip and share conveniently.
  • Offline video: View locally, send privately, and create an offline library.
  • Real-time live streaming: Say no to latency, always stay concurrent.

Technical Features

  • Broad compatibility: All webpages with video tags are supported, even those embedded in iframes and shadowdoms.
  • Cross-domain control: Shortcuts seamlessly connect even on cross-domain restricted pages.
  • Multi-instance support (compatible with platforms like Twitter and Instagram).
  • Progress tracking.
  • Speed control memory.
  • Video zooming.
  • Picture-in-picture capability.
  • Cross-Tab control of picture-in-picture.
  • Video screenshot feature.
  • Audio instance control.
  • Offline storage of video/audio files.
  • Live video stream extraction.
  • Customizable feature additions through configurations.

Shortcut Key List

Shortcut Key Description
Fast forward 5 seconds
Rewind 5 seconds
Ctrl+→ Fast forward 30 seconds
Ctrl+← Rewind 30 seconds
Volume increase 5%
Volume decrease 5%
Ctrl+↑ Volume increase 20%
Ctrl+↓ Volume decrease 20%
C Speed up playback +0.1
X Slow down playback -0.1
Z Normal speed playback
shift+C Enlarge video screen +0.05
shift+X Shrink video screen -0.05
shift+Z Restore video screen
shift+P Enter or exit picture in picture function
shift+S Screenshot, capture current frame and save
shift+D Download audio/video files (experimental feature)
shift+R Enable or disable automatic resume playback progress feature
shift+→ Move screen to the right 10px
shift+← Move screen to the left 10px
shift+↑ Move screen upwards 10px
shift+↓ Move screen downwards 10px
Enter Enter/Exit Full Screen
shift+Enter Enter/Exit Web Full Screen
N Next video/chapter (only supported on some websites)
D Previous frame (for fine-tuning when taking screenshots to find the best quality frame)
F Next frame (for fine-tuning when taking screenshots to find the best quality frame)
E Increase brightness %
W Decrease brightness %
T Increase contrast%
R Decrease contrast %
U Increase saturation %
Y Decrease saturation %
O Increase hue by 1 degree
I Decrease hue by 1 degree
K Increase blur by 1 px
J Decrease blur by 1 px
Q Image reset
S Rotate screen by 90 degrees
M Flip screen horizontally
shift+M Flip screen vertically
ctrl+\ Whether the shortcut key is available on the whole webpage, default is true
Ctrl+space Disable/Enable this playback plugin

Supported Website List

This plugin supports all websites that use HTML5 technology for video playback

Below is a list of some common websites for easy click testing:

Video Websites URL
Bilibili https://bilibili.com
Tencent Video https://v.qq.com
Douyin https://douyin.com
iQIYI https://iqiyi.com
Youku https://youku.com
YouTube https://youtube.com
TED https://www.ted.com
Instagram https://www.instagram.com
Twitter https://twitter.com
Telegram web https://web.telegram.org
Pornhub https://www.pornhub.com
Douyu https://www.douyu.com
Huya https://www.huya.com
Weibo TV https://weibo.com/tv
Kueran Video https://krcom.cn
Sohu Video https://tv.sohu.com
NetEase Open Class https://open.163.com/ted
QQ Music - MV https://y.qq.com/portal/mv_lib.html
Phoenix Video https://v.ifeng.com/
Fun TV https://www.fun.tv
PPTV Polymeric Power https://www.pptv.com
Qilu Net https://v.iqilu.com
Sunshine Satellite TV https://www.isuntv.com
CCTV Network https://www.cntv.cn
Mango TV https://www.mgtv.com
Watermelon Video https://www.ixigua.com
Xin Chuan Broadband https://v.zhibo.tv
China Sports https://video.zhibo.tv
AcFun https://www.acfun.cn
Kwai https://www.kuaishou.com
MioMio Danmu Website https://www.miomio.tv
56 net https://www.56.com
VK https://vk.com
Vine https://vine.co
Magisto https://www.magisto.com
CBS https://www.cbs.com
FC2 Video https://video.fc2.com
Audio Websites URL
Ximalaya https://www.ximalaya.com/
Lazy to Listen https://www.lrts.me/
Dragonfly FM https://www.qtfm.cn/
Kugou Audiobook https://www.kugou.com/ts/
Baidu Wangpan Audio Files https://pan.baidu.com/
AliYun Disk Audio Files https://aliyundrive.com/
Other Network Disk Audio Files ......

Update Log

Support the Author

Please show your appreciation to the script author.

PayPal: paypal.me/BlazeLiu


trackgit-views

About

This software supports all audio and video websites, such as TikTok, YouTube, Bilibili, TED, Instagram, Twitter, etc. Features include: variable playback speed, screen capture, video download, custom settings, and extensions, etc., providing you with a pleasant online audio and video playback experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.3%
  • HTML 7.9%
  • CSS 2.8%
  • TypeScript 1.7%
  • Vue 0.3%