Handling repeating events in a playing recording

Материал из SmartPlayer

Description of the Situation

The SmartPlayer development team has improved the event handling logic. Users can now manually configure event behavior when a broadcast is already playing. Below is a detailed explanation of how to use this functionality.

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.

Example of the “Broadcasts” section and “Create” category

Then create two pages with zones and add the required content:

  • first page — image content;
  • second page — video content.
Example of a prepared broadcast

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

Example of the icon and the page with settings

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

Example of selecting a page for switching

Event configuration

Event configuration can be started by clicking the “+” icon in the “Events” row.

Example of the icon

Clicking the icon opens a modal window where the following settings must be selected:

  • event — client application;
  • key — active player;
  • value — playback error.
Example of event settings

After setting the values, click the “Save” button at the bottom center of the screen.

Reaction to repeated event

After saving the current event, the modal window will close and the user will return to the settings page. A new parameter “Reaction to repeated event” will appear in the UI. By default, the value is set to “Restart”, but the option “Ignore” is also available.

Example of parameters for handling repeated events

To complete the configuration, click the “Save” button in the bottom-right corner of the screen.

Useful Information

This section provides information to accelerate onboarding and improve user experience:

Video instruction

Handling events on the playing page

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.

Example of the “Discussions” tab on the wiki page

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