Interface CanPlayThroughEvent

Fired when the player can resume playback of the media data and buffering is unlikely.

interface CanPlayThroughEvent {
    currentTime: number;
    date: Date;
    readyState: number;
    type: "canplaythrough";
}

Hierarchy (view full)

  • Event<"canplaythrough">
    • CanPlayThroughEvent

Properties

currentTime: number

The player's current time.

date: Date

The creation date of the event.

readyState: number

The player's new ready state.

type: "canplaythrough"

The type of the event.