PBJVideoPlayer 0.3.3

PBJVideoPlayer 0.3.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2016

Maintained by nathan spindel, patrick piemonte.




PBJVideoPlayer is a simple video player library for iOS and tvOS.

Features

  • [x] plays local media or streams remote media over HTTP
  • [x] customizable UI and user interaction
  • [x] no size restrictions
  • [x] orientation change support
  • [x] simple API

If you're looking for a video player written in Swift, checkout Player. For video recording, checkout PBJVision.

Installation

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

pod 'PBJVideoPlayer'

Usage

#import <PBJVideoPlayer/PBJVideoPlayer.h>
// allocate controller
PBJVideoPlayerController *videoPlayerController = [[PBJVideoPlayerController alloc] init];
videoPlayerController.delegate = self;
videoPlayerController.view.frame = self.view.bounds;

// setup media
videoPlayerController.videoPath = @"https://example.com/video.mp4";

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

Community

Resources

License

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