Download Latest Version VersaPlayer 4.0.0 source code.zip (338.3 kB)
Home / 4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-29 1.3 kB
VersaPlayer 4.0.0 source code.tar.gz 2026-10-29 321.4 kB
VersaPlayer 4.0.0 source code.zip 2026-10-29 338.3 kB
Totals: 3 Items   661.0 kB 0

4.0 rewrites VersaPlayer for SwiftUI. It's a breaking release: 3.x stays available at tag 3.0.2. See MIGRATION.md (github.com) to upgrade.

:::swift
.package(url: "https://github.com/josejuanqm/VersaPlayer.git", from: "4.0.0")

What's new

  • Requirements: iOS/tvOS 17, macOS 14, visionOS 1. Swift 6 with strict concurrency. Swift Package Manager only; CocoaPods is no longer supported.
  • VersaPlayerCore: an @Observable VersaPlayerModel wrapping AVPlayer. It covers playback state, an AsyncStream of events, error mapping, audio/subtitle tracks, caption styling, quality caps, FairPlay through AVContentKeySession, Picture in Picture, plugins, and a built-in NowPlayingPlugin for the lock screen and remote commands.
  • VersaPlayer (SwiftUI): VersaVideoPlayer with default controls that hide on their own, plus building blocks for custom controls (PlayPauseButton, Scrubber, TrackPicker, PiPButton, AirPlayButton, …). VersaPlayerViewController wraps it for UIKit and AppKit apps.
  • tvOS: Siri Remote support: the seek bar scrubs, and the track and Picture in Picture menus can take focus.
  • Demo: one XcodeGen app for all four platforms (Examples/VersaPlayerDemo).
Source: README.md, updated 2026-10-29