HTML5 video player enhanced script

HTML5 video playback enhanced script, supports all H5 video playback websites, full-length shortcut key control, supports: double-speed playback / accelerated playback, video screenshots, picture-in-picture, full-page webpage, brightness, saturation, contrast, custom configuration enhancement And other functions.

< Feedback on HTML5 video player enhanced script

Review: Good - script works

§
Posted: 2021-06-14
b站看视频的时候,看个几分钟之后按一下暂停(鼠标点击或者空格键)但暂停不了,要再按一次
§
Posted: 2021-06-14
已解决,应该是和b站的快捷键冲突,导致按一下空格,脚本暂停,b站也暂停,把快捷键取消即可
§
Posted: 2021-06-14
已解决,应该是和b站的快捷键冲突,导致按一下空格,脚本暂停,b站也暂停,把快捷键取消即可
好像还是有问题
§
Posted: 2021-06-15
已解决,应该是和b站的快捷键冲突,导致按一下空格,脚本暂停,b站也暂停,把快捷键取消即可
好像还是有问题
要不試試看這個新userscript? https://greasyfork.org/scripts/390143-html5-video-player-enhance
§
Posted: 2021-06-23
我也有这个问题……
尝试把
/* 当前用到的快捷键 */
const hasUseKey = {
//keyCodeList: [13, 16, 17, 18, 27, 32, 37, 38, 39, 40, 49, 50, 51, 52, 67, 68, 69, 70, 73, 74, 75, 78, 79, 80, 81, 82, 83, 84, 85, 87, 88, 89, 90, 97, 98, 99, 100, 220],
//keyList: ['enter', 'shift', 'control', 'alt', 'escape', ' ', 'arrowleft', 'arrowright', 'arrowup', 'arrowdown', '1', '2', '3', '4', 'c', 'd', 'e', 'f', 'i', 'j', 'k', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'w', 'x', 'y', 'z', '\\', '|'],
keyCodeList: [13, 16, 17, 18, 27, 37, 38, 39, 40, 49, 50, 51, 52, 67, 68, 69, 70, 73, 74, 75, 78, 79, 80, 81, 82, 83, 84, 85, 87, 88, 89, 90, 97, 98, 99, 100, 220],
keyList: ['enter', 'shift', 'control', 'alt', 'escape', 'arrowleft', 'arrowright', 'arrowup', 'arrowdown', '1', '2', '3', '4', 'c', 'd', 'e', 'f', 'i', 'j', 'k', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'w', 'x', 'y', 'z', '\\', '|'],
keyMap: {
enter: 13,
shift: 16,
ctrl: 17,
alt: 18,
esc: 27,
//space: 32,

/*
// 空格键:暂停/播放
if (keyCode === 32) {
t.switchPlayStatus();
}
*/
这两部分修改后好像可以了

Post reply

Sign in to post a reply.