Skip to content
项目

关于

Compose Media Player 是一款适用于 Compose Multiplatform 的视频播放器库,支持 Android、macOS、Windows、Linux、iOS 和 Compose Web。

创作与媒体

这些数字如何统计

实测星标增长

24小时
-1
7天
-1
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🎥 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

探索相关项目

加载中…