KaterinaPetrova / PBJVideoPlayer

iOS video player, simple drop in component featuring touch-to-play

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PBJVideoPlayer

PBJVideoPlayer

PBJVideoPlayer is a simple iOS video player, featuring touch-to-play.

When integrated, it provides mobile apps with the ability to play content whether it is local or on a remote server. The video player supports both iOS 6 and iOS 7 and is 64-bit compatible.

Please review the release history for more information.

If you have questions or ideas, the github issues page is a great means to start a discussion but also this allows others to benefit and chime in on the project too.

Build Status

Installation

CocoaPods is the recommended method of installing PBJVideoPlayer, just to add the following line to your Podfile:

pod 'PBJVideoPlayer'

Usage

#import "PBJVideoPlayerController.h"
// allocate controller
_videoPlayerController = [[PBJVideoPlayerController alloc] init];
_videoPlayerController.delegate = self;
_videoPlayerController.view.frame = self.view.bounds;

// setup media
_videoPlayerController.videoPath = PBJViewControllerVideoPath;

// present
[self addChildViewController:_videoPlayerController];
[self.view addSubview:_videoPlayerController.view];
[_videoPlayerController didMoveToParentViewController:self];

Resources

License

'PBJVideoPlayer' is available under the MIT license, see the LICENSE file for more information.

About

iOS video player, simple drop in component featuring touch-to-play

License:MIT License


Languages

Language:Objective-C 98.0%Language:Ruby 2.0%