Interface LoadedMetadataEvent

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

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

Hierarchy (view full)

  • Event<"loadedmetadata">
    • LoadedMetadataEvent

Properties

Properties

currentTime: number

The player's current time.

date: Date

The creation date of the event.

type: "loadedmetadata"

The type of the event.

Generated using TypeDoc