HTML5 Player Embed Code

The ViaRad.io HTML5 Player can be embedded on other websites.
Click the embed code field to copy it and paste it into your site’s HTML editor.

Only logged-in users will see the Settings icon (Cog) on the player, which allows customization options.
By default, all features are enabled, but you can control player features by adjusting settings on the Public Page Station Configuration.


๐ŸŒ General Links

The General Links section provides direct links compatible with various devices.
While most applications use a common link, some devices, like iPhones, may require a specific link (e.g., .m3u).


๐Ÿงฉ Widgets

ViaRad.io widgets are flexible and can be styled with CSS.
They are updated every 60 seconds to optimize system performance.

๐Ÿ› ๏ธ Widget Options:

  • Recently Played Widget: Use the data-limit attribute to control the number of tracks displayed (e.g., set to 3).

  • Station Data: The data-name attribute specifies the station to pull data from.


๐Ÿ“Š Stream Details

The Stream Details widget displays various station data using the Widgets API.
You can rearrange or remove elements to customize the information layout.

  • Now Playing: Shows the currently playing track.

  • Now Playing w/ Cover Art: Displays the track title with cover art.

    • data-coverart: Set to true/false to show or hide cover art.

    • data-styled: Set to true/false for automatic styling.

  • Recently Played: Lists recently played tracks.

    • data-covers: Show or hide cover art for each track.

    • data-limit: Set the number of tracks displayed (1–5).

  • Upcoming Schedule: An iframe displaying today’s or this week’s schedule.

    • Today view: Shows events from the current hour to midnight.

    • Week view: Shows events from Sunday to Saturday. You can customize start and end times via the src attribute.


๐Ÿ—บ๏ธ Google Maps

This map widget highlights the number of listeners in each country.


๐ŸŒ Top 10 Countries

A table listing the top 10 countries by listener count.


๐Ÿ“ฅ JSON

The JSON tab provides a URL for accessing your station’s public information, which can be used with third-party applications.

Available data includes:

  • Broadcasting Status

  • Now Playing Track

  • Cover Art Image URL

  • Recent Track History

  • Listeners (# of Connections)

  • Streaming Bitrate

  • Streaming Format (e.g., AAC, MP3)