Skip to content

Conversation

@Jmilham21
Copy link
Collaborator

What does this Pull Request do?

  • Update the YouTubeExample

Why is this Pull Request needed?

  • Demonstrate how to use the new api for iOS and best practices for Android when loading new configs

Addresses Issue(s):

GitHub Issue

- Updated playerItem state initialization to null for better handling of unselected items.
- Added playerKey state to force component recreation when the player item changes.
- Implemented logic to prevent unnecessary reloads of the player when the same item is selected.
- Adjusted player item update logic for both Android and iOS to ensure smooth transitions and proper state management.
@Jmilham21 Jmilham21 requested a review from a team as a code owner October 30, 2025 19:15
Copy link
Collaborator

@edougher edougher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@Jmilham21 Jmilham21 merged commit 4ce7840 into master Dec 4, 2025
@Jmilham21 Jmilham21 deleted the task/upgrade-youtube-example branch December 4, 2025 20:23
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.

3 participants