THEOplayer Web SDK
    Preparing search index...

    Interface CurrentSourceChangeEvent

    Fired when the current source, which is chosen from ChromelessPlayer.source.sources, changes.

    interface CurrentSourceChangeEvent {
        currentSource: undefined | TypedSource;
        date: Date;
        type: "currentsourcechange";
    }

    Hierarchy (View Summary)

    • Event<"currentsourcechange">
      • CurrentSourceChangeEvent
    Index

    Properties

    currentSource: undefined | TypedSource

    The player's new current source.

    date: Date

    The creation date of the event.

    type: "currentsourcechange"

    The type of the event.