Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Restore video transitions on androidx.media3 1.4.0 and 1.4.1 #922

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

nikclayton
Copy link
Contributor

androidx.media3 1.4.0-rc01 and above (at the time of writing) has a bug that breaks shared element transitions with a PlayerView (see androidx/media#1594).

This can be worked around by setting app:surface_type="texture_view". This uses more power, but for the typical length of social media videos this shouldn't be a problem at the moment.

Fixes #920.

androidx.media3 1.4.0-rc01 and above (at the time of writing) has a
bug that breaks shared element transitions with a `PlayerView` (see
androidx/media#1594).

This can be worked around by setting `app:surface_type="texture_view"`.
This uses more power, but for the typical length of social media videos
this shouldn't be a problem at the moment.

Fixes #920.
@nikclayton nikclayton merged commit b83ecf5 into main Sep 3, 2024
23 checks passed
@nikclayton nikclayton deleted the 920-video-transition branch September 3, 2024 11:05
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.

Video player opening or closing got very slow
1 participant