Hi! Is there a good and simple to use (preferrably...
# compose
d
Hi! Is there a good and simple to use (preferrably KMP) media player library (simpler than media3...? -- which isn't KMP either?) with a ready-made integration with Compose?
k
i would suggest you to use platform specific libraries rather then using a cmp specific library for KMP. You can get started by reading this https://medium.com/proandroiddev/unifying-video-players-compose-multiplatform-for-ios-android-desktop-aa920d29bbf3
d
Thanks 👍🏼! I guess it all depends on how many features are needed... I'll look into both to see what'll fit.
K 1
b
Be aware, that the source code cannot be found online: https://github.com/Chaintech-Network/ComposeMultiplatformMediaPlayer/issues/14 This makes this library very dangerous to use.
👌 2
k
sorry, it indeed seems like scam
💯 1
d
Thanks for the warning @benkuly!
k
Wow I didn’t notice that thanks @benkuly
s
Is there any way to keep .mp4 file in commonMain resources and pass the video url to platforms and play it? In compose Multiplatform
Here he suggests only passing http video url but I want to pass from assets https://medium.com/proandroiddev/unifying-video-players-compose-multiplatform-for-ios-android-desktop-aa920d29bbf3