Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.55 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.55 KB

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.