-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress drag gesture not working on devices, emulate or touch based screens. #7703
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Can you provide an example of a video/page where this happens? It doesn't happen on any I've tried. |
did you test on mobile or on a touch based screen ? the issue occurs there, on web or mouse based screens this works fine |
I'm unable to reproduce on mobile or via emulated-touch via chrome dev tools on https://videojs-preview.netlify.app/sandbox/index.html |
After further investigations on our side, the issue seems to be only reproducible from a video uploaded from an IOS devices and opened from an IOS devices, in that case grabbing the slider knob will keep restarting the video from the beginning. If that can helps on your side. |
This sounds likely. In that case, there's nothing Video.js can do about it. |
@mister-ben hello I encountered the same problem Have you resolved it yet |
Without a reproducible test case there's nothing to investigate or resolve. |
In our case, the issue is due to the use of shadow component and slot element (#8158) with transform on top. VideoJs's calculation on drag will be off if you have transform applied outside of the component. As a workaround, you could probably try removing the transform if you have any
|
Hello, I also run into this issue and this is how I fixed it as a workaround:
|
any updates on this issue here? @ubalensi-yoobic |
Facing same issue. any updates on this issue ?? |
Description
Hey, I have found an issue while trying to drag the knob of the video progress for mobile/ touch based screen. So whatever the video is paused or not, grabbing the knob to drag it will cause the video to restart from the begining all the time. However, on web or mouse based screen, this is working fine.
We are currently running the 7.18.1, i tried to upgrade to 7.19.0 and downgrade up to the 7.17.3 and we have got that issue in all those version.
To be able to reproduce, just open any video from emulate mode ( of chrome for example )
Results
Expected
When grabbing the knob of the progress on touch based screen, the video progress should update based on the current position of the knob while dragged over the progress.
Actual
When grabbing the knob of the progress on touch based screen, this cause the video to restart from the begining.
Error output
No console errors
The text was updated successfully, but these errors were encountered: