Skip to content

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

License

Notifications You must be signed in to change notification settings

CloudMetal/PBJVideoPlayer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PBJVideoPlayer

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

It supports both iOS 6 and iOS 7 as well as 64-bit, and is capable of playing local and remote video files.

Please review the release history for more information.

Installation

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

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];

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published