You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are designing a social media feed for our app and we are facing a problem with with our compose implementation
in a feed we are using androidx.media3.exoplayer.ExoPlayer and via AndroidView( modifier = Modifier.align(Alignment.BottomCenter), factory =PlayerView(content)
where I set a player per an item like this this.player = player
and to fit the screen size I use AspectRatioFrameLayout.RESIZE_MODE_ZOOM
it looks like a player takes all of the player Views to show a video
as a result, you can see the same video in several list items
it looks like the same issue was reported for old exo-player, however without a working solution unfortunately
Please help me to provide the best experience to our users
Devices that reproduce the issue
Pixel 5
Reproduction steps
create a lazy column list
add several videos in a row
start playing them one by one
Expected result
The video should take a frame size and don't interact with a neighbour item
Version
Media3 1.2.1
More version details
We are designing a social media feed for our app and we are facing a problem with with our compose implementation
in a feed we are using
androidx.media3.exoplayer.ExoPlayerand viaAndroidView( modifier = Modifier.align(Alignment.BottomCenter), factory =PlayerView(content)where I set a player per an item like this
this.player = playerand to fit the screen size I use
AspectRatioFrameLayout.RESIZE_MODE_ZOOMit looks like a player takes all of the player Views to show a video
as a result, you can see the same video in several list items
it looks like the same issue was reported for old exo-player, however without a working solution unfortunately
Please help me to provide the best experience to our users
Devices that reproduce the issue
Pixel 5
Reproduction steps
Expected result
The video should take a frame size and don't interact with a neighbour item
Actual result
Current video plays in several list items
Media
Screen_recording_20240219_142945.mp4
Bug Report
adb bugreportto android-media-github@google.com after filing this issue.