Skip to content

fix(android): preserve resize mode when recreating PlayerView#4905

Open
erank-pixel wants to merge 1 commit into
TheWidlarzGroup:masterfrom
erank-pixel:fix/android-preserve-resize-mode
Open

fix(android): preserve resize mode when recreating PlayerView#4905
erank-pixel wants to merge 1 commit into
TheWidlarzGroup:masterfrom
erank-pixel:fix/android-preserve-resize-mode

Conversation

@erank-pixel

@erank-pixel erank-pixel commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reapply the current resize mode to newly created Android PlayerView instances.
  • Prevent recreated surface/texture player views from falling back to the default fit mode.

Test plan

  • Verified locally in an Android app using resizeMode="cover" while the native player view is recreated.

Reapply the current resize mode when a new Android PlayerView is created so surface or texture recreation does not fall back to the default fit mode.
@erank-pixel
erank-pixel force-pushed the fix/android-preserve-resize-mode branch from 757199f to 97a07b6 Compare May 20, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Triage

Development

Successfully merging this pull request may close these issues.

1 participant