This commit is contained in:
Kat Huang 2024-08-17 17:33:52 -06:00
parent 01b3322e03
commit f0db0a6868

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;
}