5sControl / 5sControl/5s-frontend
[2h] The video of the operation doesn't start playing until it's rewound
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100