Closed newbdez33 closed 3 years ago
It's better to return current progress when user is seeking.
For example, if we want to implement a fast forward button(30s), and the user clicks on the fast forward button, the logic is
seek(player.progress + 30 seconds)
when the user clicks fast forward twice quickly, the second click will player.progress will be 0, which is incorrect. so this pr fixes the case.
Please consider :)
It's better to return current progress when user is seeking.
For example, if we want to implement a fast forward button(30s), and the user clicks on the fast forward button, the logic is
when the user clicks fast forward twice quickly, the second click will player.progress will be 0, which is incorrect. so this pr fixes the case.
Please consider :)