THEOplayer Web SDK
    Preparing search index...

    Interface ID3Cue

    Represents a cue of an ID3 metadata text track.

    interface ID3Cue {
        content: ID3Frame;
        endTime: number;
        id: string;
        startTime: number;
        track: TextTrack;
        uid: number;
        addEventListener<TType extends keyof TextTrackCueEventMap>(
            type: TType | readonly TType[],
            listener: EventListener<TextTrackCueEventMap[TType]>,
        ): void;
        removeEventListener<TType extends keyof TextTrackCueEventMap>(
            type: TType | readonly TType[],
            listener: EventListener<TextTrackCueEventMap[TType]>,
        ): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    content: ID3Frame

    The content of the cue.

    endTime: number

    The playback position at which the cue becomes inactive, in seconds.

    id: string

    The identifier of the cue.

    startTime: number

    The playback position at which the cue becomes active, in seconds.

    track: TextTrack

    The text track of the cue.

    uid: number

    A unique identifier of the text track cue.


    - This identifier is unique across text track cues of a THEOplayer instance and can be used to distinguish between cues.
    - This identifier is a randomly generated number.

    Methods