diff --git a/Examples/VideoPlayer/index.android.js b/Examples/VideoPlayer/index.android.js index 662c676e..c2533f28 100644 --- a/Examples/VideoPlayer/index.android.js +++ b/Examples/VideoPlayer/index.android.js @@ -1,7 +1,3 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - */ 'use strict'; var React = require('react-native'); @@ -11,7 +7,6 @@ var { Text, View, TouchableOpacity, - AlertIOS, } = React; var Video = require('react-native-video'); @@ -96,7 +91,7 @@ var VideoPlayer = React.createClass({ resizeMode={this.state.resizeMode} onLoad={this.onLoad} onProgress={this.onProgress} - onEnd={() => { AlertIOS.alert('Done!') }} + onEnd={() => { console.log('Done!') }} repeat={true} /> diff --git a/Examples/VideoPlayer/index.ios.js b/Examples/VideoPlayer/index.ios.js index 662c676e..c77f53d5 100644 --- a/Examples/VideoPlayer/index.ios.js +++ b/Examples/VideoPlayer/index.ios.js @@ -1,7 +1,3 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - */ 'use strict'; var React = require('react-native');