From e39df8e62a59d78b1cc3f179c762de65d6d07b58 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Mon, 26 Aug 2024 18:08:17 -0600 Subject: [PATCH] fix --- .../main/java/com/brentvatne/exoplayer/ReactExoplayerView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java index b6cd9106..95eb11b9 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java @@ -308,7 +308,7 @@ public class ReactExoplayerView extends FrameLayout implements private void handleSeekCompletion() { if (player != null && player.getPlaybackState() == Player.STATE_READY && isSeekInProgress) { Log.d("ReactExoplayerView", "handleSeekCompletion: currentPosition=" + player.getCurrentPosition()); - eventEmitter.onSeekComplete.invoke(player.getCurrentPosition()); + eventEmitter.onVideoSeekComplete.invoke(player.getCurrentPosition()); isSeeking = false; seekPosition = -1; isSeekInProgress = false;