Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 834 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 834 Bytes

MPVUI

A Swift video player for SwiftUI and Android Compose, backed by mpv.

Usage

import MPVUI
import SwiftUI

struct MyVideoPlayer: View {

    @State
    private var player = MPVPlayer()

    let url: URL

    var body: some View {
        MPVVideoPlayer(player: player)
            .task(id: url) { player.load(url) }
    }
}

Development

  • Architecture: shared core, platform integration, and build diagrams.
  • Building: native libraries, local artifact selection, and release candidates.
  • Patches: native changes and their purposes.
  • Rendering: video output, high dynamic range, and subtitles.
  • Testing: shared core, platform integration, and consumer checks.