THEOplayer Web SDK
    Preparing search index...

    Interface UpNextBar

    A bar which displays the up next source.


    - The bar should be shown briefly before the current content ends.
    - The bar covers a small part of the player.
    - Available since v2.15.

    interface UpNextBar {
        offset?: string | number;
        showing: boolean;
        hide(): void;
        show(): void;
    }
    Index

    Properties

    Methods

    Properties

    offset?: string | number

    The offset, from the end of the video, after which the bar is shown.

    Possible formats:
    - A number or "number" for the offset in seconds.
    - Percentage string (XX%) for a proportion of the duration.

    10

    showing: boolean

    Whether the bar is showing.

    Methods

    • Hide the bar.

      Returns void

    • Show the bar.

      Returns void