5sControl / 5sControl/5s-frontend

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

Ouverte
#1,087 0 commentaires 0 réactions 1 personne assignée Assignée à @SergBily Voir sur GitHub
0.9.0 bug ESMIL Office ready QA done
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.