36Kr-Mobile/KRVideoPlayer

类似Weico的播放器,支持竖屏模式下全屏播放

Objective-C

2,034

28 commits

updated Feb 10, 2017

See the code

README

KRVideoPlayer

CI Status Version License Platform

Screenshot

screenshot

Notice

This project hasn's been maintained

Usage

To run the example project, clone the repo, and run pod install from 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 <= 8.0

Installation

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

pod "KRVideoPlayer"

Author

Programming by aidenluo

Design by cheyi

License

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

36Kr-Mobile/KRVideoPlayer

类似Weico的播放器,支持竖屏模式下全屏播放

Objective-C

2,034

28 commits

updated Feb 10, 2017

See the code

README

KRVideoPlayer

CI Status Version License Platform

Screenshot

screenshot

Notice

This project hasn's been maintained

Usage

To run the example project, clone the repo, and run pod install from 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 <= 8.0

Installation

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

pod "KRVideoPlayer"

Author

Programming by aidenluo

Design by cheyi

License

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

Significant stargazers

dazer

10 followers · starred Sep 2015

Cristián Maureira-Fredes

400 followers · starred May 2015