Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gontovnik committed Jan 5, 2016
1 parent ea5b443 commit 3db74e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Tutorial on how to create this component can be found [here](https://medium.com/

Open and run the **VideoViewControllerExample** project in Xcode to see this component in action.

## Example usage

``` swift
let videoURL = NSBundle.mainBundle().URLForResource("exampleVideo", withExtension: "mp4")!
let videoViewController = VideoViewController(videoURL: videoURL)
presentViewController(videoViewController, animated: true, completion: nil)
```

## Installation

### Cocoapods
Expand Down

0 comments on commit 3db74e1

Please sign in to comment.