5sControl / 5sControl/5s-frontend

[2h] The video of the operation doesn't start playing until it's rewound

Open
#1,087 0 comments 0 reactions 1 assignee Assigned to @SergBily View on GitHub
0.9.0 bug ESMIL Office ready QA done
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Description:
Видео операции не начинает воспроизводиться, пока его не перемотать на несколько секунд вперёд.

Precondition:
войти в систему под кредами работника с прикреплённой к рабочему месту камерой, стартовать и завершить операцию, выйти из системы

Steps to reproduce:
1. Войти в систему как Админ
2. Нажать раздел Employees
3. Выбрать сотрудника, стартовавшего операцию
4. Нажать Tasks
5. Перейти на вкладку Done
6. Открыть последнюю выполненную операцию
7. Нажать на иконку видео в правом верхнем углу
8. Нажать на видео

Actual result:
видео застывает на паузе на временной отметке 00:00

Expected result:
видео начинает автоматическое воспроизведение

Attachments:

https://github.com/user-attachments/assets/c38039a6-61c9-4df1-8857-8c30444998aa

Environment
Device: Samsung S20+
OS: Android 13
Browser: Google Chrome
Version: 133.0.6943.137

Contributor guide

Open the contributing guide

Research direction

Look for the video player component in the frontend codebase, likely in a component handling task or operation details. Check how video autoplay is initialized and if there are any browser-specific policies (like requiring user interaction) blocking it. The fix likely involves ensuring the video element's `play()` method is called correctly after metadata is loaded or after a slight delay/seek. Test the fix on an Android Chrome browser to replicate the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.