diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d1f8827..57136fca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### 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) - Sample: Upgrade react-native version of basic sample [#2960](https://github.com/react-native-video/react-native-video/pull/2960) diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index 05b09d7a..05f612cd 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -1070,6 +1070,7 @@ class ReactExoplayerView extends FrameLayout implements text += "ready"; eventEmitter.ready(); onBuffering(false); + clearProgressMessageHandler(); // ensure there is no other message startProgressHandler(); videoLoaded(); if (selectTrackWhenReady && isUsingContentResolution) {