PBJVideoPlayer is a simple video player library for iOS and tvOS.
- Looking for a Swift video player? Check out Player (Swift).
- Looking for a Swift camera library? Check out Next Level.
- plays local media or streams remote media over HTTP
- customizable UI and user interaction
- no size restrictions
- orientation change support
- simple API
CocoaPods is the recommended method of installing PBJVideoPlayer, just add the following line to your
// 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];
- Need help? Use Stack Overflow with the tag 'pbjvideoplayer'.
- Questions? Use Stack Overflow with the tag 'pbjvideoplayer'.
- Found a bug? Open an issue.
- Feature idea? Open an issue.
- Want to contribute? Submit a pull request.
- AV Foundation Programming Guide
- PBJVision, iOS camera engine, features touch-to-record video, slow motion video, and photo capture
- Player, a simple iOS video player in Swift
PBJVideoPlayer is available under the MIT license, see the LICENSE file for more information.