Триггерные события в трансляции/en: различия между версиями

Материал из SmartPlayer
(Новая страница: «=== '''Event Configuration and Types''' === After adding content to the page, it's necessary to click on the "Page Configuration" icon.. When opening the configuration page, one should move to event creation on the right toolbar. <br> To do this, click on the "+" icon next to the "Event" line and add an event type.<br> thumb|center| Two kinds of parameters for launching a trigger event|300px There are two types of events av...»)
(Новая страница: «== '''Final Result''' == Users know how to use and integrate trigger events into their broadcasts.»)
 
Строка 50: Строка 50:
You can view the event display scheme and binding lines by clicking on a specific icon. Thanks to this scheme, it's easy to understand whether triggers and events are correctly configured.
You can view the event display scheme and binding lines by clicking on a specific icon. Thanks to this scheme, it's easy to understand whether triggers and events are correctly configured.
[[File:Схема_и_обозначения.png|thumb|center|An example of a diagram and a "Legend" for understanding the diagram.|800px]]
[[File:Схема_и_обозначения.png|thumb|center|An example of a diagram and a "Legend" for understanding the diagram.|800px]]
<div lang="ru" dir="ltr" class="mw-content-ltr">
=== '''Additional Application Possibilities''' ===
=== '''Дополнительные возможности для применения''' ===
The functionality can also interact with devices that have touch solutions embedded. The action algorithm with the touch solution is as follows:
Также функционал может взаимодействовать с устройствами, предусматривающими в себе тач решения. Алгоритм действия с тач решением выглядит так:
[[File:Строка_действие_.png|thumb|right|
[[File:Строка_действие_.png|thumb|right|Расположение привязки действия|300px]]
Action binding location|300px]]
* Первым шагом создаётся трансляция с контентом для проигрывания и контентом для нажатия пользователем. Это могут быть как два разных вида контента, так и один.
* First, create a broadcast with content to play and content for user pressing. This can be either two different types of content or just one.
* Далее выбираем контент, к которому хотим привязать "касание" и переходим в настройки контента с помощью клика на нужном пользователю контенте.
* Next, select the content to which you want to attach the "touch" and go to the content settings by clicking on the desired content.
* Нажав на иконку "+" рядом со строкой действия, пользователь открывает настройки.
* By clicking the "+" icon next to the action line, the user opens the settings.
* В появившимся окне ему необходимо выбрать действие. В строке "Действие" выставляется "Нажатие по контенту".
* In the window that appears, they need to choose an action. In the "Action" line, "Pressing on the content" is set.
* Следующим шагом появляется еще одна строка "Переход на страницу". В строке выбирает на какую страницу будет осуществлен переход.
* The next step introduces another line: "Transition to the page". In this line, the user chooses which page the transition will go to.
* Нажатие кнопки "Сохранить" и завершение редактирования трансляции.
* Press the "Save" button and finish editing the broadcast.
[[File:Настройки_действий.png|thumb|center|Пример заполнение строк с действием.|800px]]
[[File:Настройки_действий.png|thumb|center|An example of filling out lines with an action.|800px]]
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
== '''Final Result''' ==
== '''Итоговый результат''' ==
Users know how to use and integrate trigger events into their broadcasts.
Пользователи умеют пользоваться и интегрировать триггерные события в свои трансляции.
</div>

Текущая версия от 15:03, 23 октября 2023

Situation Description

A new feature has been introduced in the SmartPlayer personal cabinet - the creation of trigger events. This functionality broadens the scope of interactions with the platform.

Need for the Feature

This feature allows users to modify the content played on a device using a trigger set in the settings. As soon as the trigger disappears, the event ends, and the original broadcast resumes.

If an "Announcement" is created in the broadcast, it will not be possible to create a trigger event due to potential playback issues.

Operating Principle

Logic of Operation

To create trigger events, one must have specific user rights called "AdminBrandML".
User role for creating a broadcast

If a user plans to create a trigger event, they must:

  • First step - create a broadcast with multiple pages and designated content areas.
  • Then, configure the event operation within the broadcast.
  • Link the created event to transitions to other broadcast pages.
  • First, wait for the activation and completion of triggers for the event.
  • Go back to the beginning and wait for the triggers to activate again.
If a user creates a broadcast with content and doesn't manually set up events, the broadcast will play each page separately, in order.

Creating a Broadcast

Creating a Broadcast

In the personal cabinet, the user needs to find the "Broadcast" section, click on it, and after a pop-up window appears, click on the "Create" line.
After this, the user must select a zone for the broadcast and fill it with content. To be able to work with events in the broadcast, there should be at least two pages.
If there are no events, the broadcast currently defaults to playing by pages, meaning the first page, then the second page, and so on.

The duration of content playback is not adjusted in the event settings but in the playback settings of the broadcast. To adjust the duration, you need to click on the content in the zone and find the "Duration" parameter in the pop-up window. In it, the user sets the desired value.
Location of the Duration option in the content settings.

Event Configuration and Types

After adding content to the page, it's necessary to click on the "Page Configuration" icon.. When opening the configuration page, one should move to event creation on the right toolbar.
To do this, click on the "+" icon next to the "Event" line and add an event type.

Two kinds of parameters for launching a trigger event

There are two types of events available as triggers:

  • RFID tag

It involves two sequentially set parameters: key and value. In the "Key" parameter, a key identifier is selected:

  • By payload
  • By ID

After choosing one of the two identifiers, a value parameter appears.
In the first case, if the data identifier is set "by ID," these are values that can be found in the device description under "RFID device."
In the second case, if the data identifier is set "by payload," it means the encoded textual meaning. Here, the identifier can take any string value.

Determinant of the “By ID” and “By Payload” parameters and their values
  • Face Recognition

This also involves two sequentially set parameters: key and value. In the "Key" parameter, a key identifier is selected. In this case, there's only one - by gender. After choosing the identifier, a value parameter appears. The value has two options - male and female. After all settings, it's essential to click the "Save" button.

Determinant of parameters “By gender” and their meanings
Future versions of the feature plan to add additional triggers.

Choosing a Page to Transition to

The page for the transition is chosen in the event creation menu. This parameter is slightly below and is named "Next Page." Inside this parameter, the user selects which page the broadcast will switch to upon triggering the event. After selecting the page, it's also essential to click the "Save" button

Example of binding an event to a page

Viewing the Display Scheme and Bindings

You can view the event display scheme and binding lines by clicking on a specific icon. Thanks to this scheme, it's easy to understand whether triggers and events are correctly configured.

An example of a diagram and a "Legend" for understanding the diagram.

Additional Application Possibilities

The functionality can also interact with devices that have touch solutions embedded. The action algorithm with the touch solution is as follows:

Action binding location
  • First, create a broadcast with content to play and content for user pressing. This can be either two different types of content or just one.
  • Next, select the content to which you want to attach the "touch" and go to the content settings by clicking on the desired content.
  • By clicking the "+" icon next to the action line, the user opens the settings.
  • In the window that appears, they need to choose an action. In the "Action" line, "Pressing on the content" is set.
  • The next step introduces another line: "Transition to the page". In this line, the user chooses which page the transition will go to.
  • Press the "Save" button and finish editing the broadcast.
An example of filling out lines with an action.

Final Result

Users know how to use and integrate trigger events into their broadcasts.