How to embed a radio player on your website
An embedded player lets visitors listen without leaving your website. IcecastPanel generates iframe code for each station, so you do not need to build an audio player yourself.
1. Test the station first
Open the station in IcecastPanel and confirm that it is broadcasting. Choose Open player and test playback. Embedding a player does not start an offline station.
Check the station name, logo and player colour. The embedded player uses these settings. Manage social links through Player & sociale links.
2. Copy the player code
On the station page, find Jouw player op een eigen website and click Kopieer playercode. Player & sociale links also provides previews and codes for the large and compact players.
Copy the complete iframe code. It contains a public player address, not a studio or account password. Updated station settings are reflected when the player reloads.
3. Insert the code into your website
In WordPress, paste the code into a Custom HTML block. With another website builder, use an HTML or embed block. A regular paragraph block may display the code as text instead of embedding a player.
Preview the result before publishing. Some editors, plans or user roles remove iframe code. If that happens, check whether your website builder allows external HTML embeds.
4. Add a separate now-playing display
To display the current title and artwork elsewhere on your website, use Now playing op je eigen website below the player code. It provides a separate preview and copy button.
This widget does not play audio and refreshes every ten seconds. Embedded file artwork has priority. The panel can look online when it is missing, but a matching cover is not available for every track.
5. Test mobile playback and troubleshoot
Test the published page on both a phone and computer. Visitors normally need to press Play because browsers can restrict autoplay with sound. The iframe’s width="100%" setting follows the width of its containing block.
Increase the iframe height if the player is cropped. If the standalone player works but the embed does not, check your website builder’s iframe and security settings. Use HTTPS for the website and panel.
Presenters connect through Studio / live-inloggegevens. The public player is for listening and is not a replacement for broadcasting software.