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.

Autor
NWP
Instalări zilnice
0
Total instalări
12
Rating-uri
0 0 0
Versiune
0.2
Creat
23-07-2024
Actualizat
23-07-2024
Licență
MIT
Se aplică pe

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