HTML5 Video Player Enhance

To enhance the functionality of HTML5 Video Player (h5player) supporting all websites using shortcut keys similar to PotPlayer.

目前为 2019-09-29 提交的版本。查看 最新版本

作者
𝖢𝖸 𝖥𝗎𝗇𝗀
评分
0 0 0
版本
2.7.8(tw)
创建于
2019-09-15
更新于
2019-09-29
大小
92.8 KB
许可证
暂无
适用于
所有网站

fork from https://greasyfork.org/scripts/381682-html5播放器增强插件-修订版/code (v2.5.1 2019-09-11)
and few code from https://greasyfork.org/scripts/4870-maximize-video (v11.5 2019-04-25)

-----------------------------------------------------------------------------------------------------------------------

The main difference from the original chinese version is to making this h5Player more general for every website.
Features are not as many as the original one, but more efficient and effective.

The enhancement won't bring significant performance impact to the usage.
Same as original, the functions are used by shortcut keys.
For the performance, it is still a long way to go.


The following features are unlikely to develop in the near future:
"Fullpage"
"Screen Capture"


To use this script, your browser shall be a "modern" browser - supporting ES6, CSS3, and etc.


------------------------------------------------------------
Once this script is enabled, there are major impacts to your video viewing:

1) Default 5x5 unsharpen filter is enabled.
2) requestAnimationFrame replaced event timeupdate (called "timeupdatef"), "Bullet Curtain"(彈幕) shall be smoother.
3) original addEventListener & removeEventListener are replaced.
4) localStorage are being saved and read at the interval of 2 seconds.

-------------------------------------------------------------------------------------------------------------------------

Shortcut Keys for video control:

亮度(brightness)[Key: E/W]
飽和度(saturate)[Key: U/Y]
對比度(contrast)[Key: T/R]
速度(playback speed)[Key: Z/X/C]
frame [Key: F/D]
hue [Key: O/I]
blur [Key: K/J];
RESET [Key:Q]
ROTATION [Key:S]
Zoom [Key: Shift-Z/Shift-X/Shift-C]

fullscreen [Key:Enter, Shift-Enter]
miniscreen [Key:N, Shift-P]

Restore your playback progress [key: shift-R]


======================== changelogs ================================

2.5.3 - first version

2.5.5 - update code for the original fullscreen

2.5.6 & 2.5.7 - added code for the miniscreen

2.5.8 - fixed bugs and added unsharpen filter by default

2.5.9 & 2.5.10 - improvement(minor)

2.6 & 2.7 Coding Enhancement and Function rewrites. More stable and less resource to be occupied

2.7.1 performance improvement and tipsDOM appearance changed

2.7.2 key "z" can switch from 1x and custom speed, same as potPlayer

2.7.4 TCC tally with scripts/381682 v3.0.2