0

I am using react-native-render-html@foundry

          <HTML
           contentWidth={Dimensions.get('screen').width}
           onLinkPress={(e,href)=>onShouldStartLoadWithRequest(e,href)}
           html={item.news.content.rendered}
           tagsStyles={ { p: { textAlign:'justify', fontSize:18, fontStyle: 'normal', color: !context.state.color?customcolor.black: customcolor.white ,fontFamily:customfonts.font} }}
           WebView={WebView}
           />
Ambesh Tiwari
  • 648
  • 7
  • 11

1 Answers1

0

You need to add a custom renderer for iframe tags. Fortunately, there is a plugin just for that: @native-html/iframe-plugin

Jules Sam. Randolph
  • 3,610
  • 2
  • 31
  • 50