This commit is contained in:
Kat Huang 2024-08-17 17:33:52 -06:00
parent 4c9b82f6b2
commit 1235efe975

View File

@ -307,7 +307,7 @@ public class ReactExoplayerView extends FrameLayout implements
private void handleSeekCompletion() {
if (player != null && player.getPlaybackState() == Player.STATE_READY) {
Log.d("ReactExoplayerView", "onSeekComplete triggered. Current position: " + player.getCurrentPosition());
eventEmitter.onSeekComplete.invoke(player.getCurrentPosition());
eventEmitter.onVideoSeekComplete.invoke(player.getCurrentPosition());
isSeeking = false;
seekPosition = -1;
}