Connect the Chat to an External Website
Connect SPChat using a chat link, iframe or built-in widgets. Widgets include chatbox, online users, room overview, statistics and message ticker.
Choose the Public Chat URL
Use an HTTPS address under your licensed domain, such as
https://chat.my-radio.com/. Open the URL directly first and check sign-in, rooms and the mobile layout.Add a Chat Link to the Website
Place the link in the navigation, player or broadcast page. A new tab keeps the website and chat technically separate.
<a href="https://chat.my-radio.com/" target="_blank" rel="noopener">Open community chat</a>Embed an iframe or Chat Widget
The
security.allow_iframeandsecurity.x_frame_optionssettings control embedding of the main chat. The sample configuration allows external embedding. Widget endpoints requirewidgets.enabled. Check your installation settings before embedding.<iframe src="https://chat.my-radio.com/widget/chatbox" title="Community chat" width="1200" height="800" loading="lazy"></iframe>Test the Embed in a Private Window
Check sign-in, sign-out, room changes, file uploads and the layout on mobile and desktop. If the browser blocks the iframe, inspect
Content-Security-PolicyandX-Frame-Optionson the chat domain.
Important: Widgets use /widget/ endpoints, such as /widget/online, /widget/rooms and /widget/ticker. JavaScript loaders use the corresponding .js URLs. Keep the standalone chat view accessible too.