Latest 0.0.7
Homepage https://github.com/zhoushaowen/SWAVPlayerKit
License MIT
Platforms ios 8.0, requires ARC
Dependencies ReactiveObjC
Authors

基于AVPlayer封装的音视频框架,支持本地和远程的音频和视频播放.

导入方式:pod ‘SWAVPlayerKit’

截图

audio

video

播放音频请使用:SWAudioPlayerManager

- (void)playAudioWithURL:(NSURL *)URL readyToPlay:(void(^)(NSError *error,NSTimeInterval totalDuration))readyToPlayBlock progressBlock:(void(^)(NSTimeInterval currentTime,NSTimeInterval totalDuration))progressBlock playCompleted:(void(^)(NSError *error))playCompletedBlock

播放视频请使用:SWVideoPlayerManager

- (void)playVideoWithURL:(NSURL *)URL view:(UIView *)view readyToPlay:(void(^)(NSError *error,NSTimeInterval totalDuration))readyToPlayBlock progressBlock:(void(^)(NSTimeInterval currentTime,NSTimeInterval totalDuration))progressBlock playCompleted:(void(^)(NSError *error))playCompletedBlock

Latest podspec

{
    "name": "SWAVPlayerKit",
    "version": "0.0.7",
    "homepage": "https://github.com/zhoushaowen/SWAVPlayerKit",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "u57fau4e8eAVPlayeru5c01u88c5u7684u97f3u89c6u9891u6846u67b6,u652fu6301u672cu5730u548cu8fdcu7a0bu7684u97f3u9891u548cu89c6u9891u64adu653e.",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Zhoushaowen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zhoushaowen/SWAVPlayerKit.git",
        "tag": "0.0.7"
    },
    "source_files": "SWAVPlayerKitDemo/SWAVPlayerKit/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "ReactiveObjC": []
    }
}

Pin It on Pinterest

Share This