Javascript 反应本机视频全屏控制

Javascript 反应本机视频全屏控制,javascript,android,react-native,react-native-video,Javascript,Android,React Native,React Native Video,我在我的应用程序react-native-video中使用它。它运行良好,但在android上我没有全屏 控制我必须做一个自定义控件还是忘记了什么? 这是我的播放器的代码: <Video key={`player-${retryCount}`} ref={ref => {this._player = ref}} style={[styles.container, style, {height: this.state.height}]}

我在我的应用程序react-native-video中使用它。它运行良好,但在android上我没有全屏 控制我必须做一个自定义控件还是忘记了什么? 这是我的播放器的代码:

  <Video
      key={`player-${retryCount}`}
      ref={ref => {this._player = ref}}
      style={[styles.container, style, {height: this.state.height}]}
      paused={retryCount === 0}
      source={{uri: source.url}}
      progressUpdateInterval={3000}
      controls
      onError={ this._onError }
      onProgress={ this._onProgress }
      resizeMode={'stretch'}
      onLoad={this._setHeight}/>
{this.\u player=ref}}
style={[style.container,style,{height:this.state.height}]}
暂停={retryCount===0}
source={{uri:source.url}
progressUpdateInterval={3000}
控制
onError={this.\u onError}
onProgress={this.\u onProgress}
resizeMode={'stretch'}
onLoad={this.\u setHeight}/>

android上没有用于完整sceen上react本机视频的控件,因此您必须创建自己的自定义控件或可以使用这些LIB


很乐意帮忙:)