Video Player SDK package
- Copy the static library to the project:
- Adding to the project:
- Add File to...
- 选中Copy items if needed
- Add File to...
- After the import inspection Target -> Build Phases -> Link Binary With Libraries whether the following quote .a static library file, usually automatically added, if not, click the plus sign to add ➕:
CocoaPod use third-party database management, add the following third parties:
Note: Delete or cancel#use_frameworks! # SJVideoPlayer pod 'SJBaseVideoPlayer/IJKPlayer', '~> 3.0.4' pod 'SJVideoPlayer', '~> 3.0.2' pod 'SJUIKit', '~> 0.0.0.37'
use_frameworks!
:
You can now use the SDK to play,
attention: pause playback or stop playing at the appropriate time.
Note: SDK into Debug with Release version, Debug use when developing, remember to modify the Release version re-released on the line when the line.