Interface UpNextBar

A bar which displays the up next source.

Remarks


- 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;
}

Properties

Methods

Properties

offset?: string | number

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

Remarks

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

Default Value

10

showing: boolean

Whether the bar is showing.

Methods

  • Hide the bar.

    Returns void

  • Show the bar.

    Returns void