Interface TimeUpdateEvent

Fired when the current playback position changed as part of normal playback or in an especially interesting way, for example discontinuously.

interface TimeUpdateEvent {
    currentProgramDateTime: undefined | Date;
    currentTime: number;
    date: Date;
    type: "timeupdate";
}

Hierarchy (view full)

  • Event<"timeupdate">
    • TimeUpdateEvent

Properties

currentProgramDateTime: undefined | Date

The player's current program date time.

currentTime: number

The player's current time.

date: Date

The creation date of the event.

type: "timeupdate"

The type of the event.

Generated using TypeDoc