mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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;
|
playerNeedsSource = true;
|
||||||
if (isBehindLiveWindow(e)) {
|
if (isBehindLiveWindow(e)) {
|
||||||
clearResumePosition();
|
clearResumePosition();
|
||||||
|
initializePlayer();
|
||||||
} else {
|
} else {
|
||||||
updateResumePosition();
|
updateResumePosition();
|
||||||
|
updateButtonVisibilities();
|
||||||
|
showControls();
|
||||||
}
|
}
|
||||||
updateButtonVisibilities();
|
|
||||||
showControls();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue