fix(android): clear progress handler before adding new one
This commit is contained in:
parent
34b23dfdbd
commit
c529f1ecad
@ -1070,6 +1070,7 @@ class ReactExoplayerView extends FrameLayout implements
|
|||||||
text += "ready";
|
text += "ready";
|
||||||
eventEmitter.ready();
|
eventEmitter.ready();
|
||||||
onBuffering(false);
|
onBuffering(false);
|
||||||
|
clearProgressMessageHandler(); // ensure there is no other message
|
||||||
startProgressHandler();
|
startProgressHandler();
|
||||||
videoLoaded();
|
videoLoaded();
|
||||||
if (selectTrackWhenReady && isUsingContentResolution) {
|
if (selectTrackWhenReady && isUsingContentResolution) {
|
||||||
|
Loading…
Reference in New Issue
Block a user