PlayerEventNames:
    | "ready"
    | "play"
    | "pause"
    | "error"
    | "ended"
    | "timeupdate"
    | "loadedmetadata"
    | "durationchange"

Defines the events that the player can emit.

See PlayerEvents for more details.