Auto-hide video controls almost instantly / really quickly for the Twitch desktop and mobile site

Auto-hides video controls for the Twitch desktop and mobile site after half a second (500 ms) of mouse inactivity over the video player area. Unhide the controls as you would usually do on Twitch.

المؤلف
NWP
التثبيت اليومي
0
إجمالي التثبيت
14
التقييمات
1 0 0
الإصدار
0.2
تم إنشاؤه
23-07-2024
تم تحديثه
23-07-2024
الترخيص
MIT
ينطبق على

Before:

After:

In the "Before" demo you can see it takes about 4-5 seconds for the video controls to get hidden, while for the "After" demo it only takes half a second, almost instantly.

TODO:

  • fix switching between normal mode and theatre mode for desktop site
  • fix mouse cursor still showing in certain scenarios for desktop site