The pressed key's KeyboardEvent members the decision reads; target is the element the key went to, or null when it is not an element.
The playhead the keys drive.
The subject's frames per second, the step of comma and full stop; null before a subject is ready, when they step a twenty-fourth of a second.
Whether the key was used, so the caller prevents its default, and the second a seek left the playhead on.
The inspector's playback keys, as a video player's: Space and K play or pause, J and L seek one second back and forward, comma and full stop step one frame back and forward with playback paused, Home and End go to the first and last second. K, J and L work in either case.
Frame steps start at the slider's displayed frame and include the exact end of the subject, even when it falls between regular frames.
A key is left to the page, unhandled and moving nothing, when Ctrl, Meta or Alt is held, so the browser's and the system's shortcuts keep working, and when the key's target is or sits inside an element that takes the key itself (a field, a button, a summary, a link, editable text, or a widget by its role), so Space still presses a button and opens a section. Shift is allowed, since it only changes a letter's case.
A seek or a step returns the second the playhead now shows, which the caller makes the request's
time, as the slider does; play and pause return null, because a stop already becomes the request's second through the time readout. A key the inspector does not use is not handled either.