Interface LoadedMetadataEvent

Fired when the player determines the duration and dimensions of the media resource.

interface LoadedMetadataEvent {
    currentTime: number;
    date: Date;
    readyState: number;
    type: "loadedmetadata";
}

Hierarchy (view full)

  • Event<"loadedmetadata">
    • LoadedMetadataEvent

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.

MMNEPVFCICPMFPCPTTAAATR