Skip to content
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

touch-swiping on a 'live' video makes time slider stuck in dragging state #1554

Open
Sam-C opened this issue Jan 6, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Sam-C
Copy link

Sam-C commented Jan 6, 2025

Current Behavior:

When I am on a touchscreen device, if I play a video with stream type = 'live', swiping left or right on the video makes the time slider thicker; the time slider will stay thickened, and the layout will stay messed up (setting button, live badge and full-screen button are missing). Inspecting the HTML elements reveals that the media-time-slider element is stuck having a data-dragging attribute.

Expected Behavior:

When stream type is live, users should not be able to rewind or fast forward. Swiping left or right on the video should have no effect on the time slider.

Steps To Reproduce:

  1. Open https://vidstack.io/player/demo/
  2. Select "Live" preset
  3. Click the play button
  4. When the video plays, swipe left/right on the video (on any empty space will do, not on the time slider / setting button / full screen button though)
  5. the time slider bar thickens and stay thickened

Environment:

I am able to reproduce the bug in Microsoft Edge@133 on Windows 11 (see screen capture below). (I am also able to reproduce the bug on Firefox on Windows, Firefox on Android, and Opera on Android also.)

Screen capture:

screen_capture.mp4
@Sam-C Sam-C added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant