Bump version for onEnd callback

This commit is contained in:
Brent Vatne
2015-04-11 14:38:42 -07:00
parent 9f5aa72d94
commit 25628d9877
5 changed files with 8 additions and 4 deletions
+2
View File
@@ -11,6 +11,7 @@ var {
Text,
View,
TouchableOpacity,
AlertIOS,
} = React;
var Video = require('react-native-video');
@@ -95,6 +96,7 @@ var VideoPlayer = React.createClass({
resizeMode={this.state.resizeMode}
onLoad={this.onLoad}
onProgress={this.onProgress}
onEnd={() => { AlertIOS.alert('Done!') }}
repeat={true} />
</TouchableOpacity>