diff --git a/README.md b/README.md index 6cda4a4f..d1d4df1f 100644 --- a/README.md +++ b/README.md @@ -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** ```