THEOplayer Web SDK
    Preparing search index...

    Interface SourceChangeEvent

    Fired when ChromelessPlayer.source changes.

    interface SourceChangeEvent {
        date: Date;
        source: undefined | SourceDescription;
        type: "sourcechange";
    }

    Hierarchy (View Summary)

    • Event<"sourcechange">
      • SourceChangeEvent
    Index

    Properties

    Properties

    date: Date

    The creation date of the event.

    source: undefined | SourceDescription

    The player's new source.

    type: "sourcechange"

    The type of the event.