-
Notifications
You must be signed in to change notification settings - Fork 737
Description
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.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
Actual result
Current video plays in several list items
Media
Screen_recording_20240219_142945.mp4
Bug Report
- You will email the zip file produced by
adb bugreportto [email protected] after filing this issue.