Interface UpNextPanel

A panel which displays the up next source.

Remarks


- The panel should be shown after the current source has ended.
- The panel covers the entire player.
- Available since v2.15.

interface UpNextPanel {
    countdownDuration?: string | number;
    showUpNextPanel?: boolean;
    showing: boolean;
    hide(): void;
    show(): void;
}

Properties

countdownDuration?: string | number

The countdown after which the up next source is started.

Remarks


- Countdown starts from the moment the panel is shown.

Possible formats:
- number or "number": the countdown will be number seconds.
- Infinity: no countdown will happen, only the play button will appear to go to the video that is up next.

Default Value

10

showUpNextPanel?: boolean

Whether the panel should be shown after the current source has ended.

Default Value

true

showing: boolean

Whether the panel is showing.

Methods

  • Hide the panel.

    Returns void

  • Show the panel.

    Returns void

Generated using TypeDoc