Skip to content
forked from xxxily/h5player

网页播放器增强脚本,支持:播放进度记录、播放倍率记录、快进快退、倍速播放、画面缩放等

Notifications You must be signed in to change notification settings

18-F-cali/h5player

 
 

Repository files navigation

This is googled translated english fork of the og repository.

h5player for tampermonkey

Web Player Enhancement Script Project address: https://github.com/xxxily/h5player script installation address: https://greasyfork.org/scripts/381682

characteristic

Wide compatibility, all web pages with video tags are supported even if embedded in iframe and shadowdom
Supports cross-domain control, and the shortcut keys on cross-domain restricted pages can be seamlessly connected
Support multiple instances (eg: twitter, instagram are also compatible)
Support playback progress record
Support playback speed recording
Support video screen scaling
Support picture-in-picture function
Support cross-tab control picture-in-picture
Support video screenshot function
Support profiles to add custom functions

Introduction

HTML5 video playback enhancement script, supports all H5 video playback websites, full shortcut key control, supports: double-speed playback/accelerated playback, video screenshots, picture-in-picture, full-screen web pages, brightness, saturation, contrast, custom configuration enhancements and other functions to provide a good online drama experience

PS: This script is based on: HTML5 player enhancement plugin but has far exceeded the functions provided by the original script.

Since the author has not maintained it for a long time before, he started to work on the pit himself. On the basis of the original author, he has carried out a large-scale code transformation, and adopted a new project structure for development. The maintenance is more convenient, the logic is clearer, and the function is more powerful. Compatible with more websites

Shortcut list

hot key illustrate
ctrl+\ Whether the shortcut key is available on all webpages, the default is true
Ctrl+space Disable/enable this playback plugin
Fast forward 5 seconds
back 5 seconds
Ctrl+→ fast forward 30 seconds
Ctrl+← back 30 seconds
Volume up by 10%
Volume down by 10%
Ctrl+↑ Volume up by 20%
Ctrl+↓ Volume down by 20%
C Accelerated playback +0.1
X Slow down playback - 0.1
Z Play at normal speed
shift+C Enlarge the video screen +0.1
shift+X Shrink video screen - 0.1
shift+Z restore video
shift+P Enter or exit the picture-in-picture function
shift+S Take a screenshot, take a screenshot of the current screen and save it
shift+R Enable or disable auto resume playback progress
shift+→ Move the screen 10px to the right
shift+← Move the screen 10px to the left
shift+↑ The screen moves up 10px
shift+↓ Move the screen down 10px
Enter enter full screen
shift+Enter Enter web page full screen
N next/episode video (only some sites support)
D Previous frame (fine-tune when taking screenshots to find the best quality one)
F Next frame (netflix not supported because of shortcut key conflict)
E Brightness increase %
W Brightness reduction %
T Contrast increase %
R Contrast reduction %
U Saturation increase %
Y Saturation reduction %
O Hue increased by 1 degree
I Hue reduced by 1 degree
K Blur increases by 1 px
J Blur reduced by 1 px
Q Image reset
S Rotate the screen 90 degrees

List of support sites This plugin supports all websites that use HTML5 technology for video playback

Here is a list of some common sites for click testing:

https://netflix.com
https://www.ted.com
https://www.youtube.com
https://www.instagram.com
https://twitter.com
https://www.pornhub.com
https://www.bilibili.com
https://www.douyu.com
https://www.huya.com
https://www.iqiyi.com
https://www.youku.com
https://weibo.com/tv
https://krcom.cn
https://tv.sohu.com
https://v.qq.com
NetEase Open Class
QQ Music - MV

If the support of the website you often go to is not good, please submit issues other instructions

  1. The script is developed and maintained in spare time. Feedback is welcome if there are any problems, but no negative comments are accepted . 2. If the script is found to be completely unavailable, it is generally not a problem with the script itself. It is recommended to delete it first and then install it again. Changelog

    https://github.com/xxxily/h5player/blob/master/changeLog.md

give me appreciation

If my efforts bring you convenience, please don't be stingy with your appreciation

https://camo.githubusercontent.com/0a55dbac3fbe5c24207c8a76b9cc1a21a7f1864b12d67d7a5f7d1ef22d58a762/68747470733a2f2f63646e2e6a7364656c6976722e6e65742f67682f787878696c792f6835706c61796572406d61737465722f646f6e6174652e706e67

About

网页播放器增强脚本,支持:播放进度记录、播放倍率记录、快进快退、倍速播放、画面缩放等

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.7%
  • Other 1.3%