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.
Available Embed Types
Section titled “Available Embed Types”Episode Player
Section titled “Episode Player”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.
Marker Player
Section titled “Marker Player”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.
Live Stream
Section titled “Live Stream”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.
News Feed
Section titled “News Feed”Display the latest news published by your station:
<iframe src="https://yourdomain.com/embed/news" width="100%" height="600" frameborder="0"></iframe>Program Schedule
Section titled “Program Schedule”Embed the weekly schedule grid with all program time slots:
<iframe src="https://yourdomain.com/embed/schedules" width="100%" height="800" frameborder="0"></iframe>Program Page
Section titled “Program Page”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>Domain in URLs
Section titled “Domain in URLs”Customisation
Section titled “Customisation”Dimensions
Section titled “Dimensions”You can adjust the iframe dimensions by modifying the width and height attributes:
| Embed Type | Recommended Width | Recommended Height |
|---|---|---|
| Episode player | 100% | 180px |
| Live player | 100% | 200px |
| Live banner | 100% | 80px |
| News | 100% | 600px |
| Schedule | 100% | 800px |
Appearance
Section titled “Appearance”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.
Embedding in EnaCast News Articles
Section titled “Embedding in EnaCast News Articles”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