elements
elements copied to clipboard
Bug: Set currentTime close to the end of video - video will end
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
mux-player-react
Which browsers are you using?
Chrome
Which operating systems are you using?
macOS
Description
This is simple video player. No styling, nothing - default progress bar
Try to click to 11 or 12 second - video will fire onEnd event.
If I want to change it using currentTime = value
- result the same
But if you don’t change time - video plays well
Reduced test case
https://codesandbox.io/p/sandbox/mux-player-change-time-dp6k5p?file=%2Fsrc%2FPlayer.js
Steps to reproduce
- click to 11 or 12 second
Current Behavior
video will fire onEnd event
Expected Behavior
currentTime should be changed to new value
Errors
During video loading I see this (not when I change time)
What version of the package are you using?
2.8.0