THEOplayer Web SDK
    Preparing search index...

    Interface Clip

    The clip API which can be used to clip the playback window of a source.

    interface Clip {
        endTime: number;
        startTime: number;
        addEventListener<TType extends "change">(
            type: TType | readonly TType[],
            listener: EventListener<ClipEventMap[TType]>,
        ): void;
        removeEventListener<TType extends "change">(
            type: TType | readonly TType[],
            listener: EventListener<ClipEventMap[TType]>,
        ): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    endTime: number

    The end time of the clip's window, in seconds.

    startTime: number

    The start time of the clip's window, in seconds.

    Methods