Switching to the broadcast page when there is an error playing the media stream
Description of the Situation
The improved events functionality now continues playback of the broadcast grid (when configured correctly), even if the current stream does not stop. This functionality is configured within a broadcast and helps avoid situations where a broadcast plays without content.
Usage Scenario
This case considers a situation where a user has a broadcast with two pages for playback. The first page continuously plays a stream, while the second page is filled with content in case the stream playback stops.
Logic of Operation
If an error occurs during media stream playback, the player switches to the second page. On this page, a list of videos is continuously played until one of the following restarts occurs:
- broadcast manually;
- application;
- device;
- broadcast or schedule.
Preliminary Setup
It is recommended that the user prepares content in advance in the personal account for the second page (which will fill the broadcast in case of stream issues). Then create a broadcast according to the previously described logic: the first page — stream, the second page — backup content. It is also necessary to configure events (described below) and set a permanent schedule.
Algorithm of Actions
To correctly configure this functionality, the user must register or log in to the SmartPlayer personal account.
Next, go to the “Broadcasts” section and select the “Create” category.

Then create two pages with zones and add the required content:
- first page — stream;
- second page — video content for fallback.

Now configure the event model for the first page. To do this, select the first page by clicking on the top rectangle and go to the page settings by clicking the icon.

First, select the required page in the “Next page” parameter. In this case, it will be “Page 2”, then proceed to configure the event model.

Event configuration
Event configuration starts by clicking the “+” icon in the “Events” row.

Clicking the icon opens a modal window where the following settings must be selected:
- event — client application;
- key — active player;
- value — playback error.

After setting the parameters, click the “Save” button at the bottom center of the screen and complete the broadcast setup.
The final step is to set a schedule and select the required device for playback.
Useful Information
This section provides information that will help accelerate onboarding and improve the user experience:
- Подключения и интеграция в SmartPlayer с использованием серверных событий
- Раздел "Устройства"
- Раздел "Контент на устройства"
- Раздел "Трансляции"
- Раздел "Расписание"
Video instruction
Switching to a broadcast page when a media stream playback error occurs
Additional Information
If this article does not help you use the functionality as intended or if you still have questions after reading it, they can be asked in the “Discussions” section at the top of the page.

Additional information can be found on the page Как взаимодействовать пользователю с разделом "Обсуждения"