Mousewheel and keyboard control video HTML5

Add mousewheel & keyboard control to html5 video player.

目前為 2024-10-16 提交的版本,檢視 最新版本

作者
hoangnam87bt
評價
0 0 0
版本
0.2
建立日期
2024-10-15
更新日期
2024-10-16
尺寸
3.0 KB
授權條款
MIT2
腳本執行於
所有網站

I'm not a coder. everyone can use this source code for themselves.
I like to use the mouse wheel to seek videos so this script was created to satisfy my needs. And it is integrated with the code to seek with arrow keys mainly used on facebook..
You can also use the mouse wheel to seek videos, but it does not scroll the page when the mouse hovers over the video or image, you can move the mouse over the scroll bar to scroll the page, and you have to edit a little in the source code:
replace : if (isOverMedia && isOverMedia.contains(event.target))
with if (! isOverMedia || ! isOverMedia.contains(event.target))

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址