Interface LoadedMetadataEvent

Fired when an event occurs.

interface LoadedMetadataEvent {
    audioTracks: MediaTrack[];
    date: Date;
    duration: number;
    selectedAudioTrack: undefined | number;
    selectedTextTrack: undefined | number;
    selectedVideoTrack: undefined | number;
    textTracks: TextTrack[];
    type: LOADED_METADATA;
    videoTracks: MediaTrack[];
}

Hierarchy (view full)

Properties

audioTracks: MediaTrack[]
date: Date

The creation date of the event.

duration: number
selectedAudioTrack: undefined | number
selectedTextTrack: undefined | number
selectedVideoTrack: undefined | number
textTracks: TextTrack[]

The type of the event.

videoTracks: MediaTrack[]