add mediasession playback controls

This commit is contained in:
jeffvli 2025-10-12 16:37:24 -07:00
parent f332d547a3
commit c88c6cf55e
2 changed files with 97 additions and 3 deletions

View file

@ -84,7 +84,7 @@ export const CenterControls = ({ playersRef }: CenterControlsProps) => {
],
]);
useMediaSession();
useMediaSession(playersRef);
return (
<>