Thomas Frivold

Results 3 comments of Thomas Frivold

Hello 👋 This line `ReferenceError: document is not defined` makes me think the issue is that this is being rendered in a server component. That won't work unfortunately, as we...

I just tried this myself in a new nextjs 14 app, and can confirm I get the same error in console. I've created a ticket for this, thanks for the...

Sorry for the delay here. I've played around with this now, and I have found a solution. Basically, the embed element requires browser API's, and nextjs does some pre-rendering even...