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.
CocoaPods is the recommended method of installing PBJVideoPlayer, just to add the following line to your Podfile
:
pod 'PBJVideoPlayer'
#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];
- AV Foundation Programming Guide
- Vision, iOS camera engine, features touch-to-record video, slow motion video, and photo capture
'PBJVideoPlayer' is available under the MIT license, see the LICENSE file for more information.