1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-08 04:12:23 +00:00

Merge pull request #7852 from TiA4f8R/player-recovery-workaround-play-thumbnail

Set workaround for playback position reset when switching to main player with content thumbnail
This commit is contained in:
Tobi
2022-02-11 20:49:12 +01:00
committed by GitHub

View File

@@ -500,6 +500,10 @@ public final class VideoDetailFragment
break;
case R.id.detail_thumbnail_root_layout:
autoPlayEnabled = true; // forcefully start playing
// FIXME Workaround #7427
if (isPlayerAvailable()) {
player.setRecovery();
}
openVideoPlayerAutoFullscreen();
break;
case R.id.detail_title_root_layout: