Closed Raynier98 closed 2 years ago
@Raynier98 This library doesn't support JavaScript execution, which your youtube player likely requires. Think of it as a noscript static web page renderer. However, you could use custom rendering techniques to customize how some tags should be rendered, and use a third party library to do so. I will not give the complete answer here, as it will be very dependent on the specific HTML shape you're rendering. Good luck with it! You can also get inspiration from this video custom render.
Decision Table
<yyy>
is not rendered”Good Faith Declaration
Description
hello i have a problem with render-html
I have a news app, which is receiving information from a web page. As usual, the posts have content such as images and videos. everything is fine with the images, but with youtube videos or similar, it only shows the cover photo.
I would like the videos to be able to play normally.
this is my code:
and this is an example of the tags I receive:
Warnin that i receive:
React Native Information
RNRH Version
react-native-render-html: ^6.3.4
Tested Platforms
Reproduction Platforms
Minimal, Reproducible Example
not have
Additional Notes
I was looking for information and I did not find content that can help me. im new in react native and i appreciate your help
ss of how the cover of the video looks
p