Виджет авторизации Ver.2.0/en: различия между версиями
Новая страница: «Authorization Widget Ver. 2.0» |
Новая страница: «== '''Description of the Situation''' == The Authorization Widget is a tool that previously allowed users to perform automatic authorization on platforms during display by overlaying virtual elements (fields and buttons) onto screenshots of authorization pages. The widget uses the URL of the authorization page and matches the screenshot image with the page displayed at that URL. Thus, the authorization process becomes automated.<br> The new version of...» |
||
| Строка 1: | Строка 1: | ||
== '''Description of the Situation''' == | |||
== ''' | The Authorization Widget is a tool that previously allowed users to perform automatic authorization on platforms during display by overlaying virtual elements (fields and buttons) onto screenshots of authorization pages. | ||
The widget uses the URL of the authorization page and matches the screenshot image with the page displayed at that URL. Thus, the authorization process becomes automated.<br> | |||
The new version of the widget offers additional improvements to the functional logic, simplifies interaction, and enhances the overall user experience.<br> | |||
You can ознакомиться with the first version of the widget at the following link [https://wiki.smartplayer.org/index.php?title=%D0%92%D0%B8%D0%B4%D0%B6%D0%B5%D1%82_%D0%B0%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D0%B8 here] | |||
== ''' | == '''Adding the Widget to the Personal Account''' == | ||
To add the widget to the personal account, the user must request a content archive from a SmartPlayer technical support specialist. It will be provided in `.zip` format. | |||
[[File:Виджет_авторизации_2.0.png|thumb|center| | [[File:Виджет_авторизации_2.0.png|thumb|center| Example of the widget in .zip format |800px]] | ||
After that, the user must log in to the personal account and navigate to the “Content” section. | |||
[[File:Лк_контент.png|thumb|center| | [[File:Лк_контент.png|thumb|center| Example of the “Content” section in the personal account |800px]] | ||
In the “Content” section, drag and drop the widget from local storage into the personal account. Once transferred, it will appear in the content list. | |||
[[File:Виджет_авторизации.png|thumb|center| | [[File:Виджет_авторизации.png|thumb|center| Example of transferring the widget via drag-and-drop |800px]] | ||
== ''' | == '''Widget Main Page''' == | ||
After transferring the widget, double-click its icon for initial configuration. This action will open the widget’s main page. | |||
[[File:Базовая_страница.png|thumb|center| | [[File:Базовая_страница.png|thumb|center| Example of the widget main page |800px]] | ||
The widget main page displays: | |||
* | * usage instructions (main screen where configured steps with fields and buttons will later be displayed); | ||
* | * widget control buttons; | ||
* | * steps tracking column. | ||
[[File:Главная_страница_и_инструкция.png|thumb|center| | [[File:Главная_страница_и_инструкция.png|thumb|center| Example of the settings navigation icon |800px]] | ||
{{Note| | {{Note|If necessary, the instructions can be reopened by clicking the “?” icon.|warn}} | ||
== ''' | == '''General Widget Settings''' == | ||
Clicking the “Settings” button (gear icon) opens the general widget settings page. The following parameters can be configured: | |||
* | * language selection — choose one of the supported languages (Russian, English, Spanish, Portuguese, Kazakh); | ||
* | * page address — insert the URL of the required authorization page; | ||
* | * checkbox “Launch desktop version” — enables/disables scaling of elements according to the display device screen size; | ||
* | * page refresh interval — set the refresh interval in seconds (minimum value — 30 seconds); | ||
* | * checkbox “Auto-scroll” — enables/disables automatic scrolling after the authorization process; | ||
* | * auto-scroll speed — set scroll speed in percent (%). Minimum value — 1, maximum — 100. If outside the range, nearest boundary values will be used; | ||
* | * delay before auto-scroll start — set delay value in milliseconds; | ||
* | * select image — choose uploaded images from the SmartPlayer personal account folder. | ||
[[File:Настройки общие для виджета.png|thumb|center| | [[File:Настройки общие для виджета.png|thumb|center| Example of general widget settings |800px]] | ||
=== ''' | === '''Uploading and Downloading Settings''' === | ||
While working with widget settings, the user can import or export widget settings. Each action is performed using separate icons located at the bottom center of the widget interface. | |||
[[File:Иконки_загрузки.png|thumb|center| | [[File:Иконки_загрузки.png|thumb|center| Example of settings import/export icons |800px]] | ||
=== ''' | === '''Completing General Settings''' === | ||
After configuring settings, click “Apply settings” in the bottom-right corner. Alternatively, click “Reset” to discard changes. | |||
[[File:Применение_настрок.png|thumb|center| | [[File:Применение_настрок.png|thumb|center| Example of “Apply settings” and “Reset” buttons |800px]] | ||
Then the widget will expand to full screen. Click “Save” at the bottom center of the screen. | |||
[[File:Сохран.png|thumb|center| | [[File:Сохран.png|thumb|center| Example of the “Save” button |800px]] | ||
== ''' | == '''Adding a Step''' == | ||
After completing general settings, the “Add step” button becomes active in the bottom-left corner. Clicking it changes the page display: | |||
* | * new buttons appear: | ||
** | ** select screenshot; | ||
** | ** add action. | ||
* | * a new step appears in the “Authorization steps” column with two buttons: | ||
** | ** apply; | ||
** | ** flowchart. | ||
* | * in the top-left corner, the current step appears as a clickable button. | ||
[[File:Изменения_добавления_шага.png|thumb|center| | [[File:Изменения_добавления_шага.png|thumb|center| Example of changes after adding a step |800px]] | ||
=== ''' | === '''Selecting a Screenshot''' === | ||
Clicking the corresponding button opens a modal window containing all screenshots from the folder. Select the required screenshot for the step. | |||
[[File:Скрин_авторизации.png|thumb|center| Example of screenshot selection modal window |800px]] | |||
[[File:Скрин_авторизации.png|thumb|center| | The screenshot name will appear in the “Authorization steps” column. | ||
[[File:Изменение_шагов_авторизации.png|thumb|center| Example of updated “Authorization steps” column |800px]] | |||
[[File:Изменение_шагов_авторизации.png|thumb|center| | === '''Add Action''' === | ||
=== ''' | Clicking the corresponding button allows choosing between two action types: | ||
* add input field — creates an overlay field for entering data; | |||
* | * add button — creates a clickable overlay button for authorization page actions. | ||
* | [[File:Добавление_действий.png|thumb|center| Example of action button functionality |800px]] | ||
[[File:Добавление_действий.png|thumb|center| | After creating fields and buttons, position them on the screenshot. | ||
[[File:Поле_ввода_и_кнопка.png|thumb|center| Example of input field and button placement |800px]] | |||
[[File:Поле_ввода_и_кнопка.png|thumb|center| | Added actions will appear in the “Authorization steps” column. | ||
[[File:Действия_для_текущего_шага.png|thumb|center| Example of actions in the “Authorization steps” column |800px]] | |||
[[File:Действия_для_текущего_шага.png|thumb|center| | == '''Authorization Steps Column''' == | ||
The column displays a list of all steps and their actions. | |||
== ''' | [[File:Отображение_шагов_авторизации.png|thumb|center| Example of the “Authorization steps” column |800px]] | ||
Each step contains: | |||
[[File:Отображение_шагов_авторизации.png|thumb|center| | * screenshot name; | ||
* input field (editable via gear icon or removable via cross icon); | |||
* | * action button (editable via gear icon or removable via cross icon). | ||
* | [[File:Расппеделение_по_шагу_.png|thumb|center| Example of step structure in the column |800px]] | ||
* | Each step can be deleted via “Delete step”. Actions inside a step can also be removed individually. | ||
[[File:Расппеделение_по_шагу_.png|thumb|center| | Click the blue “Apply” button at the bottom of the column to apply all steps and settings. The widget will display a confirmation modal window. | ||
[[File:Применения_шагов.png|thumb|center| Example of confirmation modal window |800px]] | |||
=== '''Configuring Input Field and Action Button''' === | |||
[[File:Применения_шагов.png|thumb|center| | {{Note|Some parameters described here automatically change when dragging elements within the widget screen.|warn}} | ||
=== ''' | Click the gear icon next to a field or button to open its settings. | ||
{{Note| | Button settings: | ||
* name; | |||
* X coordinate (pixels); | |||
* | * Y coordinate (pixels); | ||
* | * width (pixels); | ||
* | * height (pixels); | ||
* | * delay time (milliseconds before click). | ||
* | [[File:Настройки_кнопки.png|thumb|center| Example of button settings |800px]] | ||
* | Field settings: | ||
[[File:Настройки_кнопки.png|thumb|center| | * name; | ||
* value (text inserted into field); | |||
* | * X coordinate; | ||
* | * Y coordinate; | ||
* | * width; | ||
* | * height; | ||
* | * delay time (milliseconds before input). | ||
* | [[File:Настройки_поля.png|thumb|center| Example of field settings |800px]] | ||
* | Click the blue “Apply” button at the bottom of the column to save changes. | ||
[[File:Настройки_поля.png|thumb|center| | [[File:Кнопка_применить в видежте.png|thumb|center| Example of the “Apply” button |800px]] | ||
=== '''Flowchart''' === | |||
[[File:Кнопка_применить в видежте.png|thumb|center| | Clicking “Flowchart” displays a visual flowchart showing steps and actions within each step. This allows clearer understanding of the authorization logic built in the widget. | ||
=== ''' | [[File:Блока_схема_шагов.png|thumb|center| Example of the flowchart |800px]] | ||
== '''Adding the Configured Widget to a Broadcast''' == | |||
[[File:Блока_схема_шагов.png|thumb|center| | To fully review this functionality, launch a scheduled broadcast and add the widget as content. For details on creating broadcasts and schedules, review the following articles: | ||
== ''' | * [[Раздел "Устройства"]] | ||
* [[Раздел "Контент на устройства"]] | |||
* [[Раздел "Устройства"]] | * [[Раздел "Трансляции"]] | ||
* [[Раздел "Контент на устройства"]] | |||
* [[Раздел "Трансляции"]] | |||
* [[Раздел "Расписание"]] | * [[Раздел "Расписание"]] | ||
== ''' | == '''Video Instruction''' == | ||
[https://vk.com/video-227547238_456239099 | [https://vk.com/video-227547238_456239099 Authorization Widget Setup ver. 2.0] | ||
== ''' | == '''Additional Information''' == | ||
If this article does not help you use the functionality as intended, or if questions remain, they can be raised in the “Discussions” section at the top of the page. | |||
[[File:Обсуждение_авторизации.png|thumb|center| | [[File:Обсуждение_авторизации.png|thumb|center| Example of the “Discussions” tab on the wiki page |800px]] | ||
Additional information is available on the page [[How users interact with the "Discussions" section]] | |||
Версия от 13:39, 20 февраля 2026
Description of the Situation
The Authorization Widget is a tool that previously allowed users to perform automatic authorization on platforms during display by overlaying virtual elements (fields and buttons) onto screenshots of authorization pages.
The widget uses the URL of the authorization page and matches the screenshot image with the page displayed at that URL. Thus, the authorization process becomes automated.
The new version of the widget offers additional improvements to the functional logic, simplifies interaction, and enhances the overall user experience.
You can ознакомиться with the first version of the widget at the following link here
Adding the Widget to the Personal Account
To add the widget to the personal account, the user must request a content archive from a SmartPlayer technical support specialist. It will be provided in `.zip` format.

After that, the user must log in to the personal account and navigate to the “Content” section.

In the “Content” section, drag and drop the widget from local storage into the personal account. Once transferred, it will appear in the content list.

Widget Main Page
After transferring the widget, double-click its icon for initial configuration. This action will open the widget’s main page.

The widget main page displays:
- usage instructions (main screen where configured steps with fields and buttons will later be displayed);
- widget control buttons;
- steps tracking column.

General Widget Settings
Clicking the “Settings” button (gear icon) opens the general widget settings page. The following parameters can be configured:
- language selection — choose one of the supported languages (Russian, English, Spanish, Portuguese, Kazakh);
- page address — insert the URL of the required authorization page;
- checkbox “Launch desktop version” — enables/disables scaling of elements according to the display device screen size;
- page refresh interval — set the refresh interval in seconds (minimum value — 30 seconds);
- checkbox “Auto-scroll” — enables/disables automatic scrolling after the authorization process;
- auto-scroll speed — set scroll speed in percent (%). Minimum value — 1, maximum — 100. If outside the range, nearest boundary values will be used;
- delay before auto-scroll start — set delay value in milliseconds;
- select image — choose uploaded images from the SmartPlayer personal account folder.

Uploading and Downloading Settings
While working with widget settings, the user can import or export widget settings. Each action is performed using separate icons located at the bottom center of the widget interface.

Completing General Settings
After configuring settings, click “Apply settings” in the bottom-right corner. Alternatively, click “Reset” to discard changes.

Then the widget will expand to full screen. Click “Save” at the bottom center of the screen.

Adding a Step
After completing general settings, the “Add step” button becomes active in the bottom-left corner. Clicking it changes the page display:
- new buttons appear:
- select screenshot;
- add action.
- a new step appears in the “Authorization steps” column with two buttons:
- apply;
- flowchart.
- in the top-left corner, the current step appears as a clickable button.

Selecting a Screenshot
Clicking the corresponding button opens a modal window containing all screenshots from the folder. Select the required screenshot for the step.

The screenshot name will appear in the “Authorization steps” column.

Add Action
Clicking the corresponding button allows choosing between two action types:
- add input field — creates an overlay field for entering data;
- add button — creates a clickable overlay button for authorization page actions.

After creating fields and buttons, position them on the screenshot.

Added actions will appear in the “Authorization steps” column.

Authorization Steps Column
The column displays a list of all steps and their actions.

Each step contains:
- screenshot name;
- input field (editable via gear icon or removable via cross icon);
- action button (editable via gear icon or removable via cross icon).

Each step can be deleted via “Delete step”. Actions inside a step can also be removed individually. Click the blue “Apply” button at the bottom of the column to apply all steps and settings. The widget will display a confirmation modal window.

Configuring Input Field and Action Button
Click the gear icon next to a field or button to open its settings. Button settings:
- name;
- X coordinate (pixels);
- Y coordinate (pixels);
- width (pixels);
- height (pixels);
- delay time (milliseconds before click).

Field settings:
- name;
- value (text inserted into field);
- X coordinate;
- Y coordinate;
- width;
- height;
- delay time (milliseconds before input).

Click the blue “Apply” button at the bottom of the column to save changes.

Flowchart
Clicking “Flowchart” displays a visual flowchart showing steps and actions within each step. This allows clearer understanding of the authorization logic built in the widget.

Adding the Configured Widget to a Broadcast
To fully review this functionality, launch a scheduled broadcast and add the widget as content. For details on creating broadcasts and schedules, review the following articles:
Video Instruction
Authorization Widget Setup ver. 2.0
Additional Information
If this article does not help you use the functionality as intended, or if questions remain, they can be raised in the “Discussions” section at the top of the page.

Additional information is available on the page How users interact with the "Discussions" section