Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.24 KB

File metadata and controls

56 lines (34 loc) · 1.24 KB

YJVideoPlayer

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 = [[YJVideoPlayerController 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

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

pod "YJVideoPlayer"

Author

Programing by aidenluo

Design by cheyi

Modified by Jury

License

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