MDK player wrapper for Compose-Multiplatform Under development, not ready at all
- Android
- SufaceView
- Vulkan
- GL
- iOS
- Metal
- UIView
- Desktop
- macOS
- Windows
- Windows
- macOS
- fix issues
- iOS UIView
- Expose more APIs
- Publish artifacts
- Subtitles styling configuration
val player = rememberPlayer()
PlayerView(
modifier = Modifier.fillMaxSize(),
player = player,
)
LaunchedEffect(Unit) {
player.setMedia(url)
player.prepare().onSuccess { player.play() }
}
DisposableEffect(Unit) {
onDispose { player.release() }
}