Skip to content

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

Notifications You must be signed in to change notification settings

snakecharmer/CMPlayerViewController

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published