Bump version and update README
This commit is contained in:
parent
e504944ef5
commit
fd9645d2e6
@ -25,7 +25,8 @@ A <Video> component for react-native, as seen in
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// Within your render function, assuming you have a file called
|
// Within your render function, assuming you have a file called
|
||||||
// "background.mp4" in your project
|
// "background.mp4" in your project. You can include multiple videos
|
||||||
|
// on a single screen if you like.
|
||||||
<Video source={"background"} style={styles.backgroundVideo} repeat={true} />
|
<Video source={"background"} style={styles.backgroundVideo} repeat={true} />
|
||||||
|
|
||||||
// Later on in your styles..
|
// Later on in your styles..
|
||||||
@ -48,5 +49,5 @@ Example code [here](https://github.com/brentvatne/react-native-login/blob/master
|
|||||||
- [ ] Support `require('video!...')`
|
- [ ] Support `require('video!...')`
|
||||||
- [ ] Support other extensions than mp4?
|
- [ ] Support other extensions than mp4?
|
||||||
- [x] Add prop to set repeat (none or forever)
|
- [x] Add prop to set repeat (none or forever)
|
||||||
- [ ] Add support [for other props](https://developer.apple.com/library/prerelease/ios/documentation/MediaPlayer/Reference/MPMoviePlayerController_Class/index.html)
|
- [x] Switch to AVPlayer
|
||||||
- [ ] Tests..
|
- [ ] Add support [for other AVPlayer props](https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVPlayer_Class/index.html)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-video",
|
"name": "react-native-video",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"description": "A <Video> element for react-native",
|
"description": "A <Video> element for react-native",
|
||||||
"main": "Video.ios.js",
|
"main": "Video.ios.js",
|
||||||
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
"author": "Brent Vatne <brentvatne@gmail.com> (https://github.com/brentvatne)",
|
||||||
|
Loading…
Reference in New Issue
Block a user