Vinyl
    Preparing search index...

    Class PlaybackSourceImpl

    Implements

    Index

    Constructors

    Properties

    media: HTMLMediaElement

    Accessors

    • get currentSrc(): string

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

      Returns string

    • get disableRemotePlayback(): boolean

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

      Returns boolean

    • set disableRemotePlayback(value: boolean): void

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

      Parameters

      • value: boolean

      Returns void

    • get src(): string

      The media element's src.

      Returns string

    • set src(value: null | string): void

      The media element's src.

      Parameters

      • value: null | string

      Returns void

    • get 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.

      Returns null | MediaStream

    • set srcObject(value: null | MediaStream): void

      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.

      Parameters

      • value: null | MediaStream

      Returns void

    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