snakecharmer / CMPlayerViewController

CMPlayerViewController is a convenient view controller to use AVPlayer in a view controller. It looks like AVPlayerViewController but it is fully customizable ans works on iOS 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMPlayerViewController

[![CI Status](http://img.shields.io/travis/Célian Moutafis/CMPlayerViewController.svg?style=flat)](https://travis-ci.org/Célian Moutafis/CMPlayerViewController) Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

sample

CMPlayerViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "CMPlayerViewController"

Usage

To instanciate the ViewController

	let playerViewController = CMPlayerViewController(url : "myVideoUrl")
	self.presentViewController(playerViewController, animated: true, completion: nil)

Author

Célian Moutafis

License

CMPlayerViewController is available under the Apache license. See the LICENSE file for more info.

About

CMPlayerViewController is a convenient view controller to use AVPlayer in a view controller. It looks like AVPlayerViewController but it is fully customizable ans works on iOS 7

License:Apache License 2.0


Languages

Language:Swift 55.8%Language:Shell 34.1%Language:Ruby 7.4%Language:Objective-C 2.6%