Commit a7644bfd authored by Mike Wilcox's avatar Mike Wilcox Committed by Brent Vatne
Browse files

updated README with onEnd prop example

parent 7fb273fa
Loading
Loading
Loading
Loading
+1 −0
Changes for README.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -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..