mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
Add stop button to playerbar
This commit is contained in:
@@ -116,7 +116,8 @@ export const useCenterControls = (args: { playersRef: any }) => {
|
||||
mprisUpdateSong({ status: PlayerStatus.PAUSED });
|
||||
|
||||
if (isMpvPlayer) {
|
||||
mpvPlayer.stop();
|
||||
mpvPlayer.pause();
|
||||
mpvPlayer.seekTo(0);
|
||||
} else {
|
||||
stopPlayback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user