diff --git a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index fad34bcf..898e4eee 100644 --- a/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -393,6 +393,7 @@ class ReactExoplayerView extends FrameLayout implements // Initializing the playerControlView initializePlayerControl(); setControls(controls); + applyModifiers(); } }, 1); } @@ -910,6 +911,10 @@ class ReactExoplayerView extends FrameLayout implements exoPlayerView.setResizeMode(resizeMode); } + private void applyModifiers() { + setRepeatModifier(repeat); + } + public void setRepeatModifier(boolean repeat) { if (player != null) { if (repeat) {