Skip to content

Embed Codes

EnaCast generates embed codes that you can copy and paste into any external website to display your station’s content: episodes, live stream, news or the program schedule.

Insert a compact player for a specific episode on any web page or article. The player displays the title, program image and playback controls.

<iframe
src="https://yourdomain.com/embed/podcast?id=EPISODE_IDENTIFIER"
width="100%"
height="180"
frameborder="0"
scrolling="no">
</iframe>

To get the episode identifier, go to the episode detail page in the admin panel and copy the embed code from the Share or Embed button.

If you want to embed a specific segment of an episode (a marker), you can use the additional marker parameter:

<iframe
src="https://yourdomain.com/embed/podcast?id=EPISODE_IDENTIFIER&mid=MARKER_IDENTIFIER"
width="100%"
height="180"
frameborder="0"
scrolling="no">
</iframe>

The player will automatically start playback from the selected marker position.

Embed your station’s live stream player. Two variants are available:

Standard player:

<iframe
src="https://yourdomain.com/embed/live"
width="100%"
height="200"
frameborder="0">
</iframe>

Banner player (compact):

<iframe
src="https://yourdomain.com/embed/liveBannerUI2"
width="100%"
height="80"
frameborder="0">
</iframe>

The live player shows the name of the currently airing program, along with the program image and playback controls.

Display the latest news published by your station:

<iframe
src="https://yourdomain.com/embed/news"
width="100%"
height="600"
frameborder="0">
</iframe>

Embed the weekly schedule grid with all program time slots:

<iframe
src="https://yourdomain.com/embed/schedules"
width="100%"
height="800"
frameborder="0">
</iframe>

Display a specific program’s page with its latest episodes:

<iframe
src="https://yourdomain.com/embed/programs/PROGRAM_NAME"
width="100%"
height="800"
frameborder="0">
</iframe>

You can adjust the iframe dimensions by modifying the width and height attributes:

Embed TypeRecommended WidthRecommended Height
Episode player100%180px
Live player100%200px
Live banner100%80px
News100%600px
Schedule100%800px

Embeds automatically inherit your station’s visual style (colours, dark/light mode) based on the active theme configuration in EnaCast. No additional CSS is needed.

In addition to external websites, you can embed episode and marker players directly within the body of an EnaCast news article using shortcodes in the text editor.

The admin panel provides buttons in the editor toolbar to insert these shortcodes visually, without needing to write HTML code manually.

  • Test the embed on a test page before publishing it in production
  • Always use HTTPS in embed URLs to avoid mixed content issues
  • If the embed does not display, check that your website allows loading iframes from the EnaCast domain

If you have any questions, contact technical support at support@enacast.com