5sControl / 5sControl/5s-frontend
[2h] The video of the operation doesn't start playing until it's rewound
- Lenguaje dominante
- TypeScript
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- react, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100