Skip to content

kdroidFilter/ComposeMediaPlayer

Repository files navigation

🎥 Compose Media Player

Maven Central Maven Central - Audio License: MIT Kotlin Platforms Contributions welcome Documentation GitHub Workflow Status GitHub last commit

Supported by

JetBrains logo.

Compose Media Player is a media playback library for Compose Multiplatform. It provides two modules with distinct APIs:

  • Video player: composemediaplayer for full video playback with Compose UI, subtitles, metadata, and platform-native backends.
  • Audio player: composemediaplayer-audio for lightweight audio-only playback (play, pause, stop, seek, volume).

Table of Contents

Documentation

Installation

Video player:

dependencies {
    implementation("io.github.kdroidfilter:composemediaplayer:<version>")
}

Audio player:

dependencies {
    implementation("io.github.kdroidfilter:composemediaplayer-audio:<version>")
}

Live Demo

Try the online demo here: Live Demo

Roadmap

  • 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.

License

Compose Media Player is licensed under the MIT License. See LICENSE for details.

Applications Using This Library

  • 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!

Star History

Star History Chart

About

Compose Media Player is a video player library designed for Compose Multiplatform, supporting multiple platforms including Android, macOS, Windows, Linux, iOS and Compose Web

Topics

Resources

License

Stars

470 stars

Watchers

1 watching

Forks

Contributors