Latest 0.2.1
Homepage https://github.com/caixiang305621856/CXPlayer
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

效果

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    UIView *showPlayerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    showPlayerView.backgroundColor = [UIColor blackColor];
    [self.view addSubview:showPlayerView];
    [self.playerManager playWithUrl:@"http://vfx.mtime.cn/Video/2019/05/07/mp4/190507094456874251.mp4" inView:showPlayerView];
    [self.playerManager seekToTimePlay:14];
}

- (CXPlayerManager *)playerManager {
    if (!_playerManager) {
        _playerManager = [[CXPlayerManager alloc] init];
        _playerManager.disMissBlock = self.disMissBlock;
        _playerManager.shareBlock = self.shareBlock;
        _playerManager.playerStatusBlock = self.playerStatusBlock;
    }
    return _playerManager;
}

Installation

CXPlayer is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CXPlayer'

Author

caixiang305621856, [email protected]

License

CXPlayer is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CXPlayer",
    "version": "0.2.1",
    "summary": "CXPlayer",
    "description": "u89c6u9891u64adu653eu5668u5c01u88c5",
    "homepage": "https://github.com/caixiang305621856/CXPlayer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "caixiang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/caixiang305621856/CXPlayer.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "CXPlayer/Classes/**/*",
    "resource_bundles": {
        "CXPlayer": [
            "CXPlayer/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This