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
commit c1fe5c8d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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: