Closed bricezele closed 1 year ago
@bricezele Appreciate the effort and the willingness to share. The best fit for this would be a plugin. You're welcome to submit a new PR to this repo: https://github.com/native-html/plugins
Also note:
htmlparser2
.react-native-webview
should be a peer dependency. We don't want to enforce a specific version.Finally, I believe your proposal is very close to the iframe plugin. You could implement a plugin which reuses the aforementioned plugin, if it adds value for these specific cases (Youtube, Twitter, Facebook embed)
Add support for Twitter, Facebook and YouTube Embed