Android Iframe未在react本机视频组件中显示
我有一个api,我从中获取了一个Iframe属性来显示视频,Iframe属性的形式是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
“嗨,你找到解决方案了吗
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>
)
}
}