https://kotlinlang.org logo
Title
f

fengdai

05/23/2022, 7:51 AM
Hey everyone, I’ve built a Compose library for ExoPlayer media playbacks: https://github.com/fengdai/compose-media Is anyone interested in this? Any feedback is appreciated! 😄 Here is the screenshot of the sample, which demonstrates how the library’s
Media
composable reacts to parameters changes:
👍 6
🙌 3
t

Tin Tran

05/23/2022, 9:32 AM
It doesn’t seems to support fullscreen toggle yet right?
y

yschimke

05/23/2022, 10:53 AM
Nice! - I know it's Alpha, but have you considered building on Media3 instead of ExoPlayer. They are almost the same code, but Media3 is the future one IIUC. https://github.com/androidx/media/blob/release/RELEASENOTES.md
f

fengdai

05/23/2022, 10:56 AM
@yschimke Yes! I have already created an issue to track this: https://github.com/fengdai/compose-media/issues/1
@Tin Tran It is not included in the library. But it’s easy to implement with this library. I’ll add a demo to the sample app.
🙌 1
j

james

05/23/2022, 10:28 PM
@fengdai this is quite cool, nice work!
f

fengdai

05/24/2022, 2:15 AM
@james Thanks! Will you try it out? 😄