mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 12:30:06 +02:00
fix scrobble time race condition
- revert playerbar slider refactor - re-implement mediasession handler
This commit is contained in:
@@ -115,7 +115,16 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
|
||||
],
|
||||
]);
|
||||
|
||||
useMediaSession(playersRef);
|
||||
useMediaSession({
|
||||
handleNextTrack,
|
||||
handlePause,
|
||||
handlePlay,
|
||||
handlePrevTrack,
|
||||
handleSeekSlider,
|
||||
handleSkipBackward,
|
||||
handleSkipForward,
|
||||
handleStop,
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user