Support react-native > 0.40 (#437)
* Support react-native > 0.40 * Bumping major version. Breaking change. * Upgrade example project from 0.33 => 0.40.
This commit is contained in:
committed by
Matt Apperson
parent
9bcf70cbb5
commit
fe6bc4f3df
@@ -33,6 +33,7 @@ class VideoPlayer extends Component {
|
||||
};
|
||||
|
||||
onLoad(data) {
|
||||
console.log('On load fired!');
|
||||
this.setState({duration: data.duration});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user