elements icon indicating copy to clipboard operation
elements copied to clipboard

Bug: Set currentTime close to the end of video - video will end

Open maliuta-oleksandr opened this issue 7 months ago • 5 comments

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

  1. 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)

image

What version of the package are you using?

2.8.0

maliuta-oleksandr avatar Jul 17 '24 06:07 maliuta-oleksandr