http-streaming icon indicating copy to clipboard operation
http-streaming copied to clipboard

Player enters endless seeking state when setting currentTime() to duration()

Open dsine-de opened this issue 2 months ago • 2 comments

Description

If I set the currentTime() of a player to the duration() to go to the end of a HLS video, the player shows the seeking spinner endlessly.

Reduced test case

https://codepen.io/phelaz/pen/ZENzWNo

Steps to reproduce

  1. Open the test case CodePen (e.g. Firefox because Edge/Chromium browsers sometimes show MEDIA_ERR_DECODE errors)
  2. Wait for the loadeddata event to enable the "Go to end" button
  3. Press the "Go to end" button (this sets the currentTime() to the duration() return value)
  4. The player shows the loading spinner but is unable to show a frame

Errors

No response

What version of Video.js are you using?

8.12.0

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

Edge 124.0.2478.80, Firefox 125.0.3

What OS(es) and version(s) does this occur with?

Windows 11

dsine-de avatar May 07 '24 12:05 dsine-de