/CTVideoView

video avplayer custom weibo 模仿微博的自定义视频播放器

Primary LanguageObjective-CMIT LicenseMIT

CTVideoView

CI Status Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

How To Use

- (void)packageWithUrl:(NSString *)url hasSound:(BOOL)hasSound play:(BOOL)play{

[self.videoView packageWithUrl:url hasSound:hasSound play:play];
}

- (CTVideoView *)videoView{
if (!_videoView) {
_videoView = [[CTVideoView alloc]init];
_videoView.frame = CGRectMake(0, 30, 160, 90);
}
return _videoView;
}

you can see CTTestViewController

pod "CTVideoView"

preview

image image image

Author

root, 632300630@qq.com

License

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