Skip to content

video player, simple way to play and stream media in your iOS and tvOS app

License

Notifications You must be signed in to change notification settings

Leilunte/PBJVideoPlayer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBJVideoPlayer

PBJVideoPlayer

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

Features

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

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

Build Status Pod Version

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.

About

video player, simple way to play and stream media in your iOS and tvOS app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 98.4%
  • Ruby 1.6%