Fix peertuble toggle button

This commit is contained in:
Thomas 2024-01-29 17:19:32 +01:00
parent bdbfd005fa
commit 40251607e5
1 changed files with 1 additions and 1 deletions

View File

@ -2227,7 +2227,7 @@ public class PeertubeActivity extends BasePeertubeActivity implements CommentLis
if (autoFullscreen && !fullScreenMode) { if (autoFullscreen && !fullScreenMode) {
setFullScreen(); setFullScreen();
} }
player.setPlayWhenReady(true); player.setPlayWhenReady(!player.isPlaying());
}); });
} }
View exo_next = controlView.findViewById(R.id.exo_next); View exo_next = controlView.findViewById(R.id.exo_next);