Web Players & Embeds
1. Sharing the Web Player
Section titled “1. Sharing the Web Player”You can share your station’s web player with listeners in two ways:
A. Direct Standalone Link
Section titled “A. Direct Standalone Link”Share this direct link on social media, messaging apps, or in your station directory listings:
https://radio.yourdomain.com/player/{stationId}Listeners who open this link in any desktop or mobile browser can immediately listen to your station, view current and recently played tracks, and see album artwork.
B. Embedding the Player in Your Website
Section titled “B. Embedding the Player in Your Website”You can embed the player directly into your website (WordPress, Squarespace, Wix, or custom HTML) using an <iframe> embed code.
Displays a player card with large album artwork, play/pause controls, song title, and artist information:
<iframe src="https://radio.yourdomain.com/player/1?theme=dark" width="100%" height="220" frameborder="0" allow="autoplay" style="border-radius: 16px; overflow: hidden; border: none;"></iframe>Displays a compact, horizontal playback bar ideal for website headers, footers, or sidebars:
<iframe src="https://radio.yourdomain.com/player/1?theme=dark&compact=1" width="100%" height="80" frameborder="0" allow="autoplay" style="border-radius: 12px; overflow: hidden; border: none;"></iframe>2. Generating Embed Codes in the Dashboard
Section titled “2. Generating Embed Codes in the Dashboard”In the brūhi Cloud station dashboard:
- Open your station and navigate to Distribution Settings.
- Click Open Live Preview & Embed Code.
- Choose your preferred display options:
- Theme: Select
Dark,Light, orGlassto match your website design. - Layout: Choose between Full Card (220px) and Compact Bar (80px).
- Theme: Select
- Click Copy Embed Code and paste the snippet into your website’s HTML editor or embed block.
3. Real-Time Track Synchronization
Section titled “3. Real-Time Track Synchronization”The brūhi web player automatically synchronizes track metadata with live audio:
- Accurate Now-Playing: Album cover art, song title, and artist name update on the listener’s screen at the exact second the track starts playing in the audio stream.
- Mobile Lock Screen Controls: On mobile devices, listeners can see current track information and control play/pause directly from their lock screen and notification centre.
- Recent Track History: Listeners can scroll through recently played songs directly within the player.
4. Track Change Notifications (Webhooks)
Section titled “4. Track Change Notifications (Webhooks)”If you want to send now-playing song updates to external services (such as a Discord channel, website notification bar, or automation bot):
- Open Distribution Settings in your station dashboard.
- Enter your destination Webhook URL.
- Whenever a new song starts playing, brūhi will send a notification with the song title, artist, and album details.