Skip to content

HTML5 Internet Radio Web Player compatible with any Stream and with PWA Support. Displays currently playing artists and songs, automatically fetches song covers via API.

Notifications You must be signed in to change notification settings

jailsonsb2/RadioPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Icecast/Shoutcast Full Page Radio Player with PWA Support

Demo Screenshots

Demo Screenshot

  • Current song
  • Historic of played songs
  • Cover art of the current song
  • Lyrics of the current song (Vagalume API)
  • Responsive design
  • Now available as a Progressive Web App (PWA) for enhanced user experience!
  • Added automatic search in alternative api in case of error

Documentation.

Open The Script.js file and edit the lines Below.

// RADIO NAME
const RADIO_NAME = 'Your Radio Name';

// Change Stream URL Here, Supports, ICECAST, ZENO, SHOUTCAST, RADIOJAR and any other stream service.
const URL_STREAMING = 'https://stream.zeno.fm/yn65fsaurfhvv';

Change Logo.

Open The img folder and add your logo named "cover.png"

Installation

Just put the files in your server or use Free Hosting

Free Hosting

Deploy with Vercel Deploy to Netlify

Progressive Web App (PWA) Support

Now you can install the Radio Player as a Progressive Web App (PWA) to your device for an enhanced experience! Simply visit the website on a supported browser and follow the prompts to install it.

Configuring Radio Name and Colors

To configure the name of your radio and the colors used in the Progressive Web App (PWA), you need to edit the manifest.json file:

  1. Open the manifest.json file in your project.
  2. Locate the "name" field and replace 'Your Radio Name' with the name of your radio.
  3. If desired, you can also customize the "background_color" and "theme_color" fields to match your radio's branding colors.

Here's an example:

{
  "name": "Your Radio Name",
  "short_name": "Radio Player",
  "start_url": "/index.html",
  "display": "standalone",
  "background_color": "#ffffff",  // Customize this color to match your branding
  "theme_color": "#ffffff",       // Customize this color to match your branding
  "icons": [
    {
      "src": "img/cover.png",
      "sizes": "192x192",
      "type": "image/png"
    }
  ]
}

Supported Hosting Types

  • Icecast / Shoutcast
  • Zeno Radio
  • RadioJar
  • Azuracast
  • Centova Cast
  • Everest Cast
  • MediaCP
  • Sonic Panel

Supported API/Data Sources

  • Apple Music / Itunes
  • Deezer
  • Spotify
  • Azuracast
  • MediCP
  • CentovaCast

Keyboard Controls

  • M - mute/unmute
  • P and space - play/pause
  • arrow up and arrow down - increase/decrease volume
  • 0 to 9 - volume percent

Feedback

If you have any feedback, please reach out to me at [email protected]

License

MIT

Credits