Commit b885d9dc authored by Brent Vatne's avatar Brent Vatne
Browse files

Remove complex ios steps from README, rnpm is better

parent 8eb36e61
Loading
Loading
Loading
Loading
+3 −10
Changes for README.md: 3 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -11,19 +11,12 @@ Run `npm install react-native-video --save`

#### iOS

1. Open your project in XCode, right click on `Libraries` and click `Add Files to "Your Project Name"`
   * ![Screenshot](http://url.brentvatne.ca/jQp8.png) ![Screenshot](http://url.brentvatne.ca/1gqUD.png) (use the RCTVideo project rather than the one pictured in screenshot).
2. Add `libRTCVideo.a` to `Build Phases -> Link Binary With Libraries`
   ![(Screenshot)](http://url.brentvatne.ca/g9Wp.png).
3. Add `.mp4` video file to project and to `Build Phases -> Copy Bundle Resources`
4. Whenever you want to use it within React code now you can: `var Video =
   require('react-native-video').default;` or just `import Video from 'react-native-video'`.
Install [rnpm](https://github.com/rnpm/rnpm) and run `rnpm link react-native-video`

#### Android

First, copy your video file to android/app/src/main/res/raw/

Then make the following additions to the given files.
First, copy your video file to `android/app/src/main/res/raw/`, then
make the following additions to the given files:

**android/settings.gradle**
```