To run the example project, clone the repo, and run pod install
from the Example directory first.
CTVideoView is available through CocoaPods. To install it, simply add the following line to your Podfile:
- (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"
root, 632300630@qq.com
CTVideoView is available under the MIT license. See the LICENSE file for more info.