Compose Media Player is a media playback library for Compose Multiplatform. It provides two modules with distinct APIs:
- Video player:
composemediaplayerfor full video playback with Compose UI, subtitles, metadata, and platform-native backends. - Audio player:
composemediaplayer-audiofor lightweight audio-only playback (play, pause, stop, seek, volume).
- Video player docs: README_VIDEO.MD
- Audio player docs: README_AUDIO.MD
Video player:
dependencies {
implementation("io.github.kdroidfilter:composemediaplayer:<version>")
}Audio player:
dependencies {
implementation("io.github.kdroidfilter:composemediaplayer-audio:<version>")
}Try the online demo here: Live Demo
- Audio Player Enhancements: Add metadata surfacing, playback rate on JVM, and richer stream diagnostics.
- Player with Separate Audio and Video Streams: Add functionality to support different audio and video streams for advanced playback scenarios.
Compose Media Player is licensed under the MIT License. See LICENSE for details.
- Pushscroll - Pushscroll: Screen-Time Gym
- Pixelix - Pixelfed client for Android and iOS
If you're using this library in your project, please let us know and we'll add it to this list!
