Merge pull request #2972 from iFeelSmart/fix/add_missing_clear_progress_handler
fix(android): clear progress handler before adding new one
This commit is contained in:
commit
4878049af1
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
### Version 6.0.0-alpha.5
|
### Version 6.0.0-alpha.5
|
||||||
|
|
||||||
|
- Android: Fix publicated progress handler causing duplicated progress event [#2972](https://github.com/react-native-video/react-native-video/pull/2972)
|
||||||
- Feature: Add VAST support for AVOD [#2923](https://github.com/react-native-video/react-native-video/pull/2923)
|
- Feature: Add VAST support for AVOD [#2923](https://github.com/react-native-video/react-native-video/pull/2923)
|
||||||
- Sample: Upgrade react-native version of basic sample [#2960](https://github.com/react-native-video/react-native-video/pull/2960)
|
- Sample: Upgrade react-native version of basic sample [#2960](https://github.com/react-native-video/react-native-video/pull/2960)
|
||||||
|
|
||||||
|
@ -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