Audio Poster issue fix (#1779)

This commit is contained in:
Learnyst
2019-11-27 01:10:03 +05:30
committed by Benoit Dion
parent 2c5006ac50
commit 0df667692b
3 changed files with 8 additions and 5 deletions

View File

@@ -169,7 +169,10 @@ export default class Video extends Component {
};
_onReadyForDisplay = (event) => {
this._hidePoster();
if (!this.props.audioOnly) {
this._hidePoster();
}
if (this.props.onReadyForDisplay) {
this.props.onReadyForDisplay(event.nativeEvent);
}