outsystems-ui - v3.0.0
    Preparing search index...

    Class that represents the custom configurations received by the Video.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    Autoplay: boolean

    Starts playback automatically (browsers may require Muted).

    Captions: string

    JSON list of caption tracks: [{ LanguageCode, SourceFile, Label }].

    Controls: boolean

    Shows the native player controls.

    Height: string

    Height of the player (CSS length).

    Loop: boolean

    Restarts playback when the video ends.

    Muted: boolean

    Starts muted.

    PosterURL: string

    Image shown before playback starts.

    URL: string

    Video source: a URL or a base64 data URL.

    Width: string

    Width of the player (CSS length).

    • Protected

      Method that helps to validate if a given value is within a range of values.

      Parameters

      • value: unknown

        Value received in the configs

      • defaultValue: unknown

        Value used when the given one is missing or invalid

      • ...args: unknown[]

        Allowed values

      Returns unknown