Next.js Discord

Discord Forum
And render the widget as per docs with the id.
But it didn’t show anything on page, but when I use the same code with normal html file it works fine. Is there anything specific to load third party script? I inspect the networks calls and the script does get load but I don’t see anything on screen. https://go2stream.com/knowledge-base/how-to-install-and-use-the-stream-tracking-widget/The docks I am following. Please guys do help 🙏","dateCreated":"2024-01-10T18:42:10.000Z","answerCount":0,"author":{"@type":"Person","name":"Gazami crab"}}}

next js not showing third party script widgets

Unanswered
Gazami crab posted this in #help-forum
Open in Discord
Gazami crabOP
Hey guys I am trying to embed stream tracking widget into my next js 12..2.5.

I put the script tag into _app.tsx file
<script type="text/javascript" src="https://www.go2stream.net/stream/live/apis/StreamTracking/StreamTracking.js" defer></script>

And render the widget as per docs with the id.

<div id="go2stream-tracking-widget-container"><div>


But it didn’t show anything on page, but when I use the same code with normal html file it works fine. Is there anything specific to load third party script? I inspect the networks calls and the script does get load but I don’t see anything on screen.

https://go2stream.com/knowledge-base/how-to-install-and-use-the-stream-tracking-widget/

The docks I am following. Please guys do help 🙏

0 Replies