Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

License

Notifications You must be signed in to change notification settings

leeSmile/KRVideoPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

27 Commits

Repository files navigation

KRVideoPlayer

CI Status Version License Platform

Screenshot

screenshot

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

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 88.0%
  • Shell 8.7%
  • Ruby 2.5%
  • C 0.8%

AltStyle によって変換されたページ (->オリジナル) /