SDKVideoPlayer is a feature-rich video player for iOS applications developed using Swift. It provides a seamless video playback experience with a focus on customization and ease of use.
- Fullscreen and inline playback support.
- Play videos from various sources (URL, local files, and network streams).
- Customizable controls and UI elements.
- Support for subtitles and closed captions.
- Picture-in-Picture support.
- AirPlay compatibility.
- External display support.
- iOS 13.0+
- Xcode 11+
- Swift 5.0+
pod installNote: The pod install command may take some time to complete, especially if this is the first time running it on your project or if there have been updates to the CocoaPods repositories. Please be patient during this process as it sets up the necessary dependencies for your project.
Once the installation is complete, open the .xcworkspace file to launch your project in Xcode.
To install SDKVideoPlayer using CocoaPods, add the following line to your Podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
target 'SDKVideoPlayer' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for SDKVideoPlayer
pod 'SwiftIcons', '~> 3.0'
pod 'FirebaseCrashlytics'
#---------- from github
pod 'Libass', :git => 'https://github.com/nicolastinkl/FFmpegKit', :branch => 'main'
pod 'Libmpv', :git => 'https://github.com/nicolastinkl/FFmpegKit', :branch => 'main'
pod 'FFmpegKit', :git => 'https://github.com/nicolastinkl/FFmpegKit', :branch => 'main'
#---------- from local folder
# pod 'Libass', :path => '/Users/abc123456/Documents/ios/FFmpegKit'
# pod 'Libmpv', :path => '/Users/abc123456/Documents/ios/FFmpegKit'
# pod 'FFmpegKit', :path => '/Users/abc123456/Documents/ios/FFmpegKit'
# pod 'DisplayCriteria', :path => './KSPlayer/'
# pod 'SwiftLoader', :path => './SwiftLoader/'
# pod 'KSPlayer' , :path => './KSPlayer/'
# pod 'SwiftWebVC'
target 'SDKVideoPlayerTests' do
inherit! :search_paths
# Pods for testing
end
target 'SDKVideoPlayerUITests' do
# Pods for testing
end
end1 :优化 UI,增加电影浏览功能
2 :可以支持 youtube 在线浏览电影简介
3 : 修复 bug

2018-8-21 Change-log:

