Showtime: enable YouTube-style keyboard controls

keyboard-shortcuts
2021-01-18T16:27:49Z

Use similar controls as on YouTube when watching Showtime (`f` for full screen, `k` to play/pause, `c` for captions, `m` to mute/unmute, `p` to enable/disable PiP, `j`/`l` to go back/skip 10 seconds, left/right arrows for 5 seconds, `0`..`9` for 0% .. 90%)

This script lets you use keyboard shortcuts that are similar to YouTube when watching Showtime:

c enables/disables closed captions (subtitles)

f enables/disables full screen

k switches between playing and paused

m mutes or unmutes

p enables or disables picture-in-picture (PiP)

j goes back 10 seconds

l goes forward 10 seconds

<- goes back 5 seconds

-> goes forward 5 seconds

0 goes to 0% of the video (the very beginning)

1 goes to 10%...

(etc for all digits up to 9 for 90%)

The keys can easily be changed by editing the script, a specific section is documented for this purpose to let non-developers make changes.