類似Weico的播放器:KRVideoPlayer
類似Weico的播放器,支持豎屏模式下全屏播放
Screenshot
Usage
To run the example project, clone the repo, and runpod installfrom the Example directory first.
Create player and set frame:
self.videoController = [[KRVideoPlayerController alloc] initWithFrame:CGRectMake(0, 0, width, width*(9.0/16.0))];
Set video path:
self.videoController.contentURL = url;
Show it:
[self.videoController showInWindow];
Requirements
iOS >= 6.0
Installation
KRVideoPlayer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "KRVideoPlayer"
本文由用戶 wdey 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!