Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Set finished=false in goto instead of handleProgressClick (rrweb…
…-io#1198) * Reset the finished flag in goto If the player finishes a replaying a video the `finished` boolean is set to true. This allows the video to be restarted at the beginning if the controller is toggled again. If a user clicks on the progress bar the `finished` boolean is reset so if the `toggle` API is called it starts at the right place. If a user programatically calls `goto` which is the underlying API that handling the progress click calls the next invocation of `toggle` will start the video at the beginning instead of the proper location. * Create controller-finish-flag.md * Update controller-finish-flag.md
- Loading branch information