Interface LoadedDataEvent

Fired when the player can render the media data at the current playback position for the first time.

interface LoadedDataEvent {
    currentTime: number;
    date: Date;
    readyState: number;
    type: "loadeddata";
}

Hierarchy (view full)

  • Event<"loadeddata">
    • LoadedDataEvent

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.