A Swift video player for SwiftUI and Android Compose, backed by mpv.
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) }
}
}- 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.