Mousewheel and keyboard control video HTML5

Add mousewheel & keyboard control to html5 video player.

ผู้เขียน
hoangnam87bt
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
18
คะแนน
0 0 0
เวอร์ชัน
0.2
สร้างเมื่อ
15-10-2024
อัปเดตเมื่อ
16-10-2024
Size
3.05 กิโลไบต์
สัญญาอนุญาต
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))