5sControl / 5sControl/5s-frontend

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

Aperta
#1,087 0 commenti 0 reazioni 1 assegnatario Assegnata a @SergBily Vedi su GitHub
0.9.0 bug ESMIL Office ready QA done
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.