Fix wrong conditions
This commit is contained in:
parent
6d05b7bf79
commit
4bbce5e378
4
Video.js
4
Video.js
@ -94,13 +94,13 @@ export default class Video extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_onFullscreenPlayerDidPresent(event) {
|
_onFullscreenPlayerDidPresent(event) {
|
||||||
if (this.props.onFullscreenPlayerWillPresent) {
|
if (this.props.onFullscreenPlayerDidPresent) {
|
||||||
this.props.onFullscreenPlayerDidPresent(event.nativeEvent);
|
this.props.onFullscreenPlayerDidPresent(event.nativeEvent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_onFullscreenPlayerWillDismiss(event) {
|
_onFullscreenPlayerWillDismiss(event) {
|
||||||
if (this.props.onFullscreenPlayerWillPresent) {
|
if (this.props.onFullscreenPlayerWillDismiss) {
|
||||||
this.props.onFullscreenPlayerWillDismiss(event.nativeEvent);
|
this.props.onFullscreenPlayerWillDismiss(event.nativeEvent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user