updated README with onEnd prop example
This commit is contained in:
parent
7fb273fa3c
commit
a7644bfdbe
@ -34,6 +34,7 @@ A <Video> component for react-native, as seen in
|
||||
paused={false} // Pauses playback entirely.
|
||||
resizeMode="cover" // Fill the whole screen at aspect ratio.
|
||||
repeat={true} // Repeat forever.
|
||||
onEnd={this._onEnd} // handle end of playback
|
||||
style={styles.backgroundVideo} />
|
||||
|
||||
// Later on in your styles..
|
||||
|
Loading…
Reference in New Issue
Block a user