How to Embed Widgets onto your Website Print

  • 0

Every widget can be added to any website (WordPress, Wix, Squarespace, Weebly, plain HTML) by copying and pasting a short embed code.

Get the embed code

  1. In the control panel, open Get Widgets.
  2. If you have more than one stream, choose the stream at the top of the page.
  3. Click the widget you want. A window opens with a live preview on the right and the options on the left.
  4. Adjust the width, height, light or dark theme and accent colour. The preview updates as you change them.
  5. Choose an embed method (see below) and click Copy.
  6. Paste the code into your website where you want the widget to appear.

Which embed method should I use?

Method Best for
iFrame Works almost everywhere and is the safest choice. Use it for Wix, Squarespace, WordPress (Custom HTML block) and site builders that only allow "embed" blocks.
JavaScript Sites where you can add script tags. The widget loads into a <div> and blends into your page.

An iFrame embed looks like this:

<iframe src="https://v10.shoutcastwidgets.com/widgets/now-playing?stream=YOURSTREAMID"
        width="360" height="130" frameborder="0" scrolling="no"
        allowtransparency="true" allow="autoplay"></iframe>

Platform tips

  • WordPress: add a Custom HTML block and paste the code. Don't use the Paragraph block, because it shows the code as text.
  • Wix: Add ? Embed Code ? Embed HTML, paste, then resize the box to match the widget size.
  • Squarespace: add a Code block and paste.
  • OBS / streaming overlays: add a Browser Source and use the URL from inside the src="..." of the iFrame code.
Tip: widgets update automatically and pick up changes you make in the panel, such as colours, logo and DJs. You don't need to replace the embed code after changing settings.

Was this answer helpful?

« Back