Skip to content

Fix IOS running onBeforeNextPlaylistItem callback on initial video load #220

Open
normtronics wants to merge 2 commits intojwplayer:masterfrom
normtronics:fix-ios-running-onbefore-callback
Open

Fix IOS running onBeforeNextPlaylistItem callback on initial video load #220
normtronics wants to merge 2 commits intojwplayer:masterfrom
normtronics:fix-ios-running-onbefore-callback

Conversation

@normtronics
Copy link
Contributor

What does this Pull Request do?

On IOS, when using the onBeforeNextPlaylistItem callback it fires on the first item when the video is initially loaded. The functionality should run on the next playlist item after the first and so on. The PR adjust the logic so it the callback fires after the the first video.

Why is this Pull Request needed?

This will stop the callback from getting run on the first initial video.

Are there any points in the code the reviewer needs to double check?

Are there any Pull Requests open in other repos which need to be merged with this?

Addresses Issue(s):

GitHub Issue

@normtronics normtronics requested a review from a team as a code owner March 12, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant