Mousewhell and keyboard control video HTML5

Add mousewhell & keyboard control to html5 video player.

2024/10/15のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
hoangnam87bt
評価
0 0 0
バージョン
0.1
作成日
2024/10/15
更新日
2024/10/15
大きさ
2.7KB
ライセンス
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))