mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Re-initialize the DemoApp player on BLWE
This CL shows a de facto way to solve BLWEs until an in-player solution is implemented. Issue:#1782 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145265895
This commit is contained in:
parent
55ca323cee
commit
d303db975e
1 changed files with 3 additions and 2 deletions
|
|
@ -461,11 +461,12 @@ public class PlayerActivity extends Activity implements OnClickListener, ExoPlay
|
|||
playerNeedsSource = true;
|
||||
if (isBehindLiveWindow(e)) {
|
||||
clearResumePosition();
|
||||
initializePlayer();
|
||||
} else {
|
||||
updateResumePosition();
|
||||
updateButtonVisibilities();
|
||||
showControls();
|
||||
}
|
||||
updateButtonVisibilities();
|
||||
showControls();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue