seek +/- 5 sec in video player (html5) with arrow keys (hold Ctrl for 30 sec)

^^^^^^^

Od 08.06.2017.. Pogledajte najnovija verzija.

Autor
darkdiatel
Ocjene
0 0 0
Verzija
0.1
Stvoreno
08.06.2017.
Ažurirano
08.06.2017.
Size
714 bajtova
Licenza
N/A
Primjenjuje se

NOTE: modify the "// @match" - change domain to where you need this script to work

I didn't bother to write the ideal one (yet), which could be enabled all all sites - it should observe browser content changes and listen to arrow keys only when video player is present on the page.
This one is primitive and always listens to key events and in case it's arrows, it searches for players (document.getElementsByTagName), which might be not a good idea to do on all sites on each arrow key press, therefore you probably better enable this script only for the specified domain(s)