Vinyl
    Preparing search index...

    Interface PlaybackSource

    interface PlaybackSource {
        crossOrigin: CrossOrigin;
        currentSrc: string;
        disableRemotePlayback: boolean;
        src: null | string;
        srcObject: null | MediaStream;
        load(): void;
    }

    Implemented by

    Index

    Properties

    crossOrigin: CrossOrigin

    The CORS setting for the media element.

    currentSrc: string

    Contains the absolute URL of the chosen media resource The value is an empty string if the networkState property is EMPTY.

    disableRemotePlayback: boolean

    Determines whether the media element is allowed to have a remote playback UI. (Note: AirPlay does not support remote playback for Dash)

    src: null | string

    The media element's src.

    srcObject: null | MediaStream

    The media element's srcObject.

    Note: while the specification is that srcObject may be MediaStream | MediaSource | Blob, only Safari supports this. Most browsers only support MediaStream.

    Methods

    • Resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.

      Returns void