Loading android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +2 −0 Changes for android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -471,6 +471,8 @@ class ReactExoplayerView extends FrameLayout implements // which they seeked. updateResumePosition(); } // When repeat is turned on, reaching the end of the video will not cause a state change // so we need to explicitly detect it. if (reason == ExoPlayer.DISCONTINUITY_REASON_PERIOD_TRANSITION && player.getRepeatMode() == Player.REPEAT_MODE_ONE) { eventEmitter.end(); Loading Loading
android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +2 −0 Changes for android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -471,6 +471,8 @@ class ReactExoplayerView extends FrameLayout implements // which they seeked. updateResumePosition(); } // When repeat is turned on, reaching the end of the video will not cause a state change // so we need to explicitly detect it. if (reason == ExoPlayer.DISCONTINUITY_REASON_PERIOD_TRANSITION && player.getRepeatMode() == Player.REPEAT_MODE_ONE) { eventEmitter.end(); Loading