Embed tweet - How would you do it ? #5334
-
Hey, I'm trying to display embedded tweets from Twitter. The thing is, it is a small snippet they give you and which makes an iframe appear. When storing that snippet in the JSON of react-slate, it is this same html that is displayed - the iframe don't load all the time. I'm on nextJS. If I use the next Router, the iframe doesn't load. If I use the SSR pre-rendered version, it loads. Here is a snippet example:
Would you have an idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found it ! It was coming from nextjs, not react-slate. I've put it on SO |
Beta Was this translation helpful? Give feedback.
Found it ! It was coming from nextjs, not react-slate.
I've put it on SO
https://stackoverflow.com/questions/75638470/embedded-tweet-not-displaying-client-side-on-nextjs-13-with-appdir/75638471#75638471