标签: react-native react-native-webview
const link = 'https://www.youtube.com/embed/FYokhMma9ls'; return ( <WebView originWhitelist={['*']} style={{height: 210, width: 210}} source={{uri: link}} /> );
如果我用<WebView />来播放YouTuBe视频,有什么办法可以设置道具知道YouTuBe视频播放按钮被触发了吗?
<WebView />