KMVideoPlayer provides a basic player UI on top of AVPlayerLayer
matching what you can find in AVPlayerViewController
but with the ability to customize the UI further to fit your needs.
The implementation relies heavily on RxSwift
internally and the goal is eventually for the API to be functional as well.
- Support basic playback (play/pause and seeking)
- Controls automatically hide while playing
- Support fullscreen
- Support additionnal custom UI controls
- Support UI customization (colors, corner radius ...)
- Queue items to play
- Functional Rx API
- iOS 9.3 +
- Xcode 12.5
- Swift 5.3
- RxSwift 6
Add KMVideoPlayer
to your Cartfile.
github "Keemotion/KMVideoPlayer"
Run $ carthage update --use-xcframeworks
and integrate KMVideoPlayer
, RxSwift
and RxCocoa
frameworks into your project.