Update README

This commit is contained in:
Brent Vatne 2015-04-23 11:55:42 -07:00
parent b8ac698258
commit 9a55b1f417

View File

@ -5,9 +5,12 @@ A <Video> component for react-native, as seen in
### Add it to your project ### Add it to your project
1. Run `npm install react-native-video --save` **(must be 0.3.10 or higher)** 1. Run `npm install react-native-video --save`
2. Open your project in XCode, right click on `Libraries` and click `Add 2. Open your project in XCode, right click on `Libraries` and click `Add
Files to "Your Project Name"` [(Screenshot)](http://url.brentvatne.ca/g9Wp). Files to "Your Project Name"`
[(Screenshot)](http://url.brentvatne.ca/jQp8) then
[(Screenshot)](http://url.brentvatne.ca/1gqUD) (use the RCTVideo project
rather than the one pictured in screenshot).
3. Add `libRTCVideo.a` to `Build Phases -> Link Binary With Libraries` 3. Add `libRTCVideo.a` to `Build Phases -> Link Binary With Libraries`
[(Screenshot)](http://url.brentvatne.ca/g9Wp). [(Screenshot)](http://url.brentvatne.ca/g9Wp).
4. Click on `RCTVideo.xcodeproj` in `Libraries` and go the `Build 4. Click on `RCTVideo.xcodeproj` in `Libraries` and go the `Build