elements
elements copied to clipboard
Bug: Jump to end on seek within the last segment
Is there an existing issue for this?
- [X] I have searched the existing issues
Which Mux Elements/Packages does this apply to? Select all that apply
playback-core
Which browsers are you using?
Chrome
Which operating systems are you using?
macOS
Description
When seeking to a time in the last segment of a video, the player will seek to the very end of the video. This looks like it may be a regression introduced by https://github.com/muxinc/elements/pull/867.
Notes:
- Tested in
MuxVideoReact
andMuxVideo
on Chrome 125 and Arc 1.43.0 browser on MacOS 14.0
Reduced test case
No response
Steps to reproduce
On any Mux player using an Hls data source based around playback-core
:
- Start playing the video
- Seek to a point within the last segment of the video that is before the end of the video without pausing
Current Behavior
The player will jump to the end of the video and stop playback
Expected Behavior
The player will jump to the selected time and continue playback
Errors
No response
What version of the package are you using?
v0.23.1