davidohayon669/react-native-youtube

Youtube Video pauses when we rotate screen from landscape to portrait

Opened this issue · 0 comments

<YouTube ref={this._youTubeRef} apiKey={constants.VIDEO_API_KEY} videoId={this.props.videoId} play={true} fullscreen={true} showFullscreenButton={false} onChangeState={(event) => { this.handlePlayerStatus(event.state); }} onChangeFullscreen={(event) => { this.handleFullscreen(event.isFullscreen); }} />

react version 0.60.5

Youtube video plays in full screen in landscape but soon pauses when we rotate the screen to portrait