THEOplayer > UpNextPanel
A panel which displays the up next source.
Signature:
export interface UpNextPanel
- The panel should be shown after the current source has ended.
- The panel covers the entire player.
- Available since v2.15.
Property |
Type |
Description |
---|---|---|
countdownDuration (optional) |
|
The countdown after which the up next source is started. |
|
Whether the panel is showing. |
|
showUpNextPanel (optional) |
|
Whether the panel should be shown after the current source has ended. |
Method |
Description |
---|---|
hide(): |
Hide the panel. |
show(): |
Show the panel. |
The countdown after which the up next source is started.
Signature:
countdownDuration?: string | number;
- 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.
Whether the panel is showing.
Signature:
showing: boolean;
Whether the panel should be shown after the current source has ended.
Signature:
showUpNextPanel?: boolean;
Hide the panel.
Signature:
hide(): void;
Show the panel.
Signature:
show(): void;