Interface CanPlayEvent

Fired when the player can resume playback of the media data.

interface CanPlayEvent {
    currentTime: number;
    date: Date;
    readyState: number;
    type: "canplay";
}

Hierarchy (view full)

  • Event<"canplay">
    • CanPlayEvent

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

The type of the event.