Both codes below are required for the player to work properly on your website:
<div id="customWebPlayer" playerTitle="Custom Radio Player" playerTitleColor="#FFFFFF" playerSlogan="Radio Player" playerSloganColor="#FFFFFF" playerBGColor="#000000" audioSrc="https://nap.casthost.net/proxy/casthost/stream" coverImageSrc="https://www.casthost.net/images/172407545766c34dc1aeef3.jpg" buttonColors="#FFFFFF"> ...</div>
<script language="javascript" type="text/javascript" src="https://www.casthost.net/publicCustomPlayer.js"></script>
<!DOCTYPE html>
<html>
<head>
<title>My Website with Radio Player</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<!-- Step 1: Place the radio player here -->
<div id="customWebPlayer" playerTitle="${playerTitle}" playerTitleColor="${playerTitleColor}" playerSlogan="${playerSlogan}" playerSloganColor="${playerSloganColor}" playerBGColor="${playerBGColor}" audioSrc="${audioSrc}" coverImageSrc="${coverImageSrc}" buttonColors="${buttonColors}">
Custom Player Loading...
</div>
<p>Other content on your page...</p>
<!-- Step 2: Add this script before closing body tag -->
<script language="javascript" type="text/javascript" src="https://www.casthost.net/publicCustomPlayer.js"></script>
</body>
</html>
The CastHost web radio player is a modern, responsive, and highly customizable solution for embedding live audio streaming on any website. With its easy-to-use widget, you can provide your visitors with a professional listening experience tailored to your brand and technical needs. Compatible with all modern browsers and optimized for mobile devices, this radio player integrates seamlessly into your site—whether you're a radio station, podcaster, or audio content creator.
Free tool: This radio player configurator is completely free and designed to help you improve your website's SEO.
</body>
tag.
Whether you're a local radio, an independent podcaster, or a large station, the CastHost radio player lets you broadcast your audio content with ease—delivering a modern, professional user experience.
The CastHost web radio player is a customizable, responsive audio widget that you can embed on any website to stream radio content directly to your visitors.
You can customize colors, title, slogan, background, button colors, cover image, and audio source using our easy-to-use configuration tool on this page.
Yes, our radio player is designed to work across all modern web browsers including Chrome, Firefox, Safari, and Edge, on both desktop and mobile devices.
Absolutely! The player supports both HTTP and HTTPS audio streams, ensuring compatibility with secure websites and meeting modern browser requirements.
Simply copy the generated HTML code and JavaScript snippet, then paste them into your website's HTML where you want the player to appear.
Yes, the player is fully responsive and automatically adapts to different screen sizes, providing an optimal listening experience on smartphones, tablets, and desktops.