updated README with onEnd prop example

This commit is contained in:
Mike Wilcox 2015-04-10 22:59:07 -04:00 committed by Brent Vatne
parent 7fb273fa3c
commit a7644bfdbe

View File

@ -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..