Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/220.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Iframe未在react本机视频组件中显示_Android_Api_React Native - Fatal编程技术网

Android Iframe未在react本机视频组件中显示

Android Iframe未在react本机视频组件中显示,android,api,react-native,Android,Api,React Native,我有一个api,我从中获取了一个Iframe属性来显示视频,Iframe属性的形式是“嗨,你找到解决方案了吗 renderVideo () { const {params} = this.props.navigation.state; return( <Video source={{uri: 'https://api.test.com/v3/channel/490909/embed/iframe?apikey=0000'}} control

我有一个api,我从中获取了一个Iframe属性来显示视频,Iframe属性的形式是
“嗨,你找到解决方案了吗
   renderVideo () {
   const {params} = this.props.navigation.state;
   return(
    <Video
      source={{uri: 'https://api.test.com/v3/channel/490909/embed/iframe?apikey=0000'}}
      controls={true}
      style={{ width: '100%', height: '80%' }}
      poster={params.image}
      posterResizeMode={'contain'}
   //   repeat={true}
      resizeMode={"cover"}
      minLoadRetryCount={5}
      volume={1.0}
      rate={1.0}
    //  fullscreen={true}
      ignoreSilentSwitch={"obey"}

    />
  )
  }

  render () {
   return (
  <View>
    {this.renderVideo()}
  </View>
    )
  }
}