Update README.md
.default argument for iOS
This commit is contained in:
parent
d039d823a5
commit
928321a970
@ -17,7 +17,7 @@ Run `npm install react-native-video --save`
|
|||||||
![(Screenshot)](http://url.brentvatne.ca/g9Wp.png).
|
![(Screenshot)](http://url.brentvatne.ca/g9Wp.png).
|
||||||
3. Add `.mp4` video file to project and to `Build Phases -> Copy Bundle Resources`
|
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 =
|
4. Whenever you want to use it within React code now you can: `var Video =
|
||||||
require('react-native-video');`
|
require('react-native-video').default;`
|
||||||
|
|
||||||
#### Android
|
#### Android
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user