mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
fix(player): Improve MPV stability and seek performance (#953)
This commit is contained in:
parent
9f11061433
commit
62f4bb0d7b
2 changed files with 2 additions and 2 deletions
|
|
@ -119,8 +119,7 @@ export const useCenterControls = (args: { playersRef: any }) => {
|
|||
|
||||
const handleStop = useCallback(() => {
|
||||
if (isMpvPlayer) {
|
||||
mpvPlayer!.pause();
|
||||
mpvPlayer!.seekTo(0);
|
||||
mpvPlayer!.stop();
|
||||
} else {
|
||||
stopPlayback();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue