Kast – Extraordinary SHOUTcast HTML5 Radio Player for jQuery – Material Design (Media) Download

Overview

Kast – Extraordinary SHOUTcast HTML5 Sticky Radio Player for your website (jQuery Plugin).

Allows you to stream your live radio station to your web visitors on Desktops, Tablets and Mobile devices.

SHOUTcast exclusive, Colorful, Responsive design, Fully-customizable, Production-ready, Mobile-compatible, Touch-friendly, Retina-ready and more.

Following Google’s Material Design guidelines

Kast - Preview | shoutcast html5 player | material design
Kast - Nowplaying | shoutcast artist artwork | material design
Kast - Themes | shoutcast radio player | material design
Kast - Colors | shoutcast mobile player | material design
Kast - MobileCare Ultra | shoutcast mobile player | material design

Features

  • Pure HTML5: HTML5 only audio player
  • All SHOUTcast Versions: Plays any SHOUTcast station
  • Multiple Streams: Supports multiple streams from a single server (SID)
  • Multi-format Audio Player: MP3, OGG, AAC, AAC+ (aacPlus)
  • SHOUTcast Exclusive: for SHOUTcast servers only, made with love
  • Sticky Player: Runs peacefully at your web browser corner
  • Current and Played Information: Displays various information and stats about a SHOUTcast server (server title, current listeners, genre, track title, artist name and more)
  • Album and Artist Artworks: Smart album artwork retrieving from the biggest music database (using Spotify API), or Artist artwork as a fallback
  • Mobile-compatible with MobileCare: Kast is memory-efficient, runs perfectly on Mobile devices (Premium feature)
  • Responsive Design: Ultra Responsive Design with Mobile-first approach
  • Material Design: Kast UI Following Google’s Material Design guidelines
  • Colorful: All Material Design Colors (Red, Pink, Purple, Deep Purple, Indigo, Blue, Light Blue, Cyan, Teal, Green, Light Green, Lime, Yellow, Amber, Orange, Deep Orange, Brown, Grey, Blue Grey, Carolina, Black, White)
  • Light and Dark Themes: Material Light Theme and Material Dark Theme
  • Dynamic Theme, Colors and Contrast: Dynamically changes colors and theme based on the dominated colors (color palette) from the artwork image with also color contrast check for text colors (light or dark).
  • Cross-browser: Chrome, Firefox, Safari, Opera, Edge, IE
  • Touch-friendly and Retina-ready
  • Independent player, just jQuery
  • Continuous play
  • Multi Language Support
  • HTTPS (SSL) Support: Stream your radio station on your SSL secured website (HTTPS)
  • Offline Detection: Display message on SHOUTcast server offline or Internet connection loss.
  • Easy-to-use: Meant for everyone
  • Highly customizable: Easy to customize and fully customizable
  • Developer API: Rich API and events for Developers
  • Extra: Volume controls (Mute / Unmute), minimize and maximize the player and more

More Screenshots?

Click on the Screenshots button to view the gallery.

Live Preview

Click on the Live Preview button to view the demo.

Usage

First make sure jQuery is included, If not, include it

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>

Then include Kast files

<link href="path/to/kast.min.css" type="text/css" rel="stylesheet">
<script src="path/to/kast.min.js"></script>

Call it

<script>
    $.kast({
       host: "myshoutcastserver.com",
       port: 8080,
       version: 2
    })
</script>

Recommended: include Google’s Roboto font

<link href="https://fonts.googleapis.com/css?family=Roboto:400" type="text/css" rel="stylesheet">

Options

Customize Kast just the way you like it, Usage:

$.kast({
   host: "...",
   port: ...,
   optionName: ...    
})
  • host: String Server IP or domain name Required
  • port: Integer Server port (80 by default)
  • version: Integer SHOUTcast version (2 by default) (1 or 2)
  • sid: Integer SHOUTcast V2 server stream ID * If you have multiple stations * (1 by default)
  • statsPath: String SHOUTcast V2 path to stats (“stats” by default)
  • playedPath: String SHOUTcast V2 path to played list (“played” by default)
  • ui: String User Interface (“colored” by default) (“transparent” or “colored”)
  • theme: String Material Design theme (“light” by default) (“dark”, “light” or “dynamic”)
  • colors: String or Object Material Design colors ({primary: “cyan”, accent: “yellow”} by default) ({primary: “color name”, accent: “color name”} or “dynamic”)

    Color names: red, pink, purple, deep purple, indigo, blue, light blue, cyan, teal, green, light green, lime, yellow, amber, orange, deep orange, brown, grey, blue Grey, carolina, black, white

    Note: Carolina color it’s an extra color
  • startTemplate: String Starting template (“maximized” by default) (“minimized” or “maximized”)
  • position: String Player sticky position (“right” by default) (“right” or “left”)
  • container: String Player container element, class or ID. (“body” by default)
  • autoPlay: Boolean Autoplay radio (false by default) (true or false)
  • autoUpdate: Boolean or String Auto update info * Current playing info, played list, server stats * (true by default) (true, false or “all”)

    Note: “all” Auto updates all the information including server stats (current listeners, etc..)
  • artwork: Boolean or String Retrieve album artwork (or artist artwork as a fallback) using Spotify API or set a custom fixed artwork image (true by default) (true, false or “https://my-website-or-some-cors-website.com/my-custom-artwork.jpg”)
  • statusBar: Boolean Show status bar at the top of the player (true by default) (true or false)
  • minimizeMaximize: Boolean Show minimize / maximize button in the status bar (true by default) (true or false)
  • muteUnmute: Boolean Show mute / unmute button in the status bar (true by default) (true or false)
  • startMuted: Boolean Start audio muted (false by default) (true or false)
  • serverInfo: Boolean or Array Show server info / stats in the status bar (false by default) (false or [“servertitle”, “servergenre”, etc..])

    SHOUTcast V1 server info: “currentlisteners”, “streamstatus”, “peaklisteners”, “maxlisteners”, “uniquelisteners”, “bitrate”, “songtitle”

    SHOUTcast V2 server info: “averagetime”, “backupstatus”, “bitrate”, “content”, “currentlisteners”, “maxlisteners”, “peaklisteners”, “servergenre”, “servertitle”, “serverurl”, “songtitle”, “streamhits”, “streamlisted”, “streamlistederror”, “streampath”, “streamstatus”, “streamuptime”, “uniquelisteners”, “version”
  • played: Boolean Show SHOUTcast V2 played list (true by default) (true or false)
  • currentTrack: Boolean Show current track title (true by default) (true or false)
  • currentArtist: Boolean Show current artist name (true by default) (true or false)
  • playedTracks: Boolean Show SHOUTcast V2 played track titles (true by default) (true or false)
  • playedArtists: Boolean Show SHOUTcast V2 played artist names (true by default) (true or false)
  • offlineCheck: Boolean Show message on SHOUTcast server offline or Internet connection loss in the status bar (true by default) (true or false)
  • mobileCare: Boolean or Array Lightweight player for Mobile Devices (true by default) (true, false, [“low”], [“medium”], [“high”], [“very high”] or [“ultra”])

    Note: Kast is always responsive design, but MobileCare is different, you set it by selecting a grade from low to ultra (modes), and If you want to customize the max-width * when mobileCare get triggered * set [“medium”, “800px”]. The default max-width is 599px

    1. false: What you see in Desktop, is what you see in Mobile
    2. low: (true equal low) Autoplay and offlineCheck will be disabled, Kast will always start minimized and lite auto update
    3. medium: Medium quality artwork, Server stats update in the status bar will be disabled, Dymanic theme and colors will be dropped to fixed theme/colors and lite auto update level 2
    4. high: Artwork and played list will be disabled
    5. very high: Auto update and minimize/maximize will be disabled
    6. ultra: Just a play/pause button. Takes only 2MB of RAM
  • language: Object Set text * for Multi-language * ({offlineText: “Temporarily Offline”, playedText: “Played”, unknownTrackText: “Unknown Track”, unknownArtistText: “Unknown Artist”} by default)
  • irrelevantWords: Boolean or Array Let Kast be aware of some irrelavent words inside the current song title to help Kast get the right artwork from Spotify API ([“feat.”, “ft.”, “Feat.”, “Ft.”] by default) (false, [“blah”, “blah.com”, “mumbo jumbo”], etc..)
  • overHTTPS: Boolean Stream secured SHOUTcast audio for secured HTTPS websites (experimental) (false by default) (true or false)

    Note: Currently SHOUTcast serve audio only through an HTTP protocol. And HTTPS page should only have HTTPS content, with overHTTPS, you serve your web visitors a secured stream by using a secured HTTPS proxy.

API

Kast Developer API

  • $.kast(); Start with default options
  • $.kast(“play”); Play audio
  • $.kast(“pause”); Pause audio
  • $.kast(“mute”); Mute audio
  • $.kast(“unmute”); Unmute audio
  • $.kast(“minimize”); Minimize player
  • $.kast(“maximize”); Maximize player
  • $.kast(“stats”); Update the current playing info
  • $.kast(“stats”, callback); Access to the current playing info
  • $.kast(“played”); Update the current played info
  • $.kast(“played”, callback); Access to the current played info
  • $.kast(“autoUpdate”, “all”); Enable auto update including server stats
  • $.kast(“autoUpdate”, true); Enable auto update
  • $.kast(“autoUpdate”, false); Disable auto update
  • $.kast(“destroy”); Destroy plugin instance

Events

Kast Developer Events, Usage:

$.kast({
   host: "...",
   port: ...,
   eventName: callback    
})
  • onKastStart: callback function when Kast is loaded
  • onAudioLoad: callback function when audio is loaded. @return HTMLAudioElement
  • onMobile: callback function when Kast is running on Mobile device
  • onPlay: callback function when audio is playing. @return HTMLAudioElement
  • onPause: callback function when audio is paused. @return HTMLAudioElement
  • onMute: callback function on audio mute. @return HTMLAudioElement
  • onUnmute: callback function on audio unmute. @return HTMLAudioElement
  • onMinimize: callback function on player minimize
  • onMaximize: callback function on player maximize
  • onUpdate: callback function on current / played info update. @return stats
  • onUpdateAll: callback function on server stats in the status bar update * every 8s/12s/16s *. @return stats
  • onCurrentArtwork: callback function on current artwork update. @return current (Album / Artist) artwork image
  • onPlayedArtworks: callback function on played artworks update. @return played (Album / Artist) artwork image. * will be called for each of one *
  • onCurrentInfo: callback function on current playing info change. @return currentTrack and currentArtist
  • onPlayedInfo: callback function on played info change. @return playedTrack and playedArtist. * will be called for each of one *
  • onDynamicColors: callback function on dynamic colors change. @return primaryColor and accentColor
  • onDynamicColorsContrast: callback function on dynamic colors contrast change. @return primaryColorContrast and accentColorContrast
  • onDynamicTheme: callback function on dynamic them change. @return current theme
  • Audio Formats Support

    • MP3 (audio/mpeg): Chrome (Yes), Firefox (Yes), Safari (Yes), Opera (Yes), IE9+ (Yes), Edge (Yes), Android Browser (Yes), iOS Safari (Yes)
    • OGG (audio/ogg): Chrome (Yes), Firefox (Yes), Safari (No), Opera (Yes), IE (No), Edge (No), Android Browser (Yes), iOS Safari (No)
    • AAC (audio/aac): Chrome (Yes), Firefox (Yes), Safari (Yes), Opera (Yes), IE9+ (Yes), Edge (Yes), Android Browser (Yes), iOS Safari (Yes)
    • AAC+ (audio/aacp): Chrome Only (Yes)

    Browser Compatibility

    Google Chrome, Mozilla Firefox, Apple Safari, Opera, Microsoft Edge, Internet Explorer 9 and above (Basically any HTML5 web browser)

    Changelog

    v1.0.2 - Build 10250: Bug fixes and improvements
    v1.0.2: Improvements and a new feature (Read changelog.txt for more info)
    v1.0.1 - Build 10150: Fixed cross-browser support
    v1.0.1: Improvements and a new feature (Read changelog.txt for more info)
    v1.0.0: Initial release

    © Kast – Made with love, Don’t forget to rate <3

    manarkamel


    Download Kast – Extraordinary SHOUTcast HTML5 Radio Player for jQuery – Material Design (Media)

    - Kast – Extraordinary SHOUTcast HTML5 Radio Player for jQuery – Material Design (Media) Download
    Free JavaScript downloads, kast, live stream, material design, mobile radio, radio, shoutcast, shoutcast album artist artwork, shoutcast html5 player, shoutcast jquery plugin, shoutcast played, shoutcast radio player, shoutcast radio station player, shoutcast stats, spotify api, sticky player

    Best Free JavaScript Downloads

    Kast – Extraordinary SHOUTcast HTML5 Radio Player for jQuery – Material Design (Media) Comments

    *

    *

    Top