Latest 0.3.3
Homepage https://github.com/piemonte/PBJVideoPlayer
License MIT
Platforms ios 9.0, tvos 9.0, requires ARC
Frameworks Foundation, AVFoundation, CoreGraphics, QuartzCore, UIKit
Authors

PBJVideoPlayer

PBJVideoPlayer

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.

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.

Latest podspec

{
    "name": "PBJVideoPlayer",
    "version": "0.3.3",
    "summary": "simple video player library for iOS and tvOS, featuring touch-to-play",
    "homepage": "https://github.com/piemonte/PBJVideoPlayer",
    "social_media_url": "http://twitter.com/piemonte",
    "license": "MIT",
    "authors": {
        "patrick piemonte": "[email protected]"
    },
    "source": {
        "git": "https://github.com/piemonte/PBJVideoPlayer.git",
        "tag": "0.3.3"
    },
    "frameworks": [
        "Foundation",
        "AVFoundation",
        "CoreGraphics",
        "QuartzCore",
        "UIKit"
    ],
    "platforms": {
        "ios": "9.0",
        "tvos": "9.0"
    },
    "source_files": "Source",
    "requires_arc": true,
    "screenshots": "https://raw.github.com/piemonte/PBJVideoPlayer/master/PBJVideoPlayer.gif"
}

Pin It on Pinterest

Share This