mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 12:30:06 +02:00
fix(player): Improve MPV stability and seek performance (#953)
This commit is contained in:
@@ -119,8 +119,7 @@ export const useCenterControls = (args: { playersRef: any }) => {
|
||||
|
||||
const handleStop = useCallback(() => {
|
||||
if (isMpvPlayer) {
|
||||
mpvPlayer!.pause();
|
||||
mpvPlayer!.seekTo(0);
|
||||
mpvPlayer!.stop();
|
||||
} else {
|
||||
stopPlayback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user