Overview

Kast - Extraordinary SHOUTcast HTML5 Sticky Radio Player for your website
(jQuery and Zepto 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.

NEW Kast v1.2 update: new features and improvements.

Kast WordPress Version
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

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: ...    
})

API

Kast Developer API

Events

Kast Developer Events, Usage:

$.kast({
   host: "...",
   port: ...,
   eventName: callback    
})
  • onReady: callback function when Kast is ready
  • 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
  • onStop: callback function when audio is stopped. @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
  • onOffline: callback function on offline. @return stats
  • onOnline: callback function on back online. @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

    Browser Compatibility

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

    Changelog

    v1.2 - New features, new options and improvements (Read changelog.txt for more info)
    v1.1.2 - Bug fixes and a new feature (Read changelog.txt for more info)
    v1.1.1 - SHOUTcast V1 played list are now supported and Minor bug fixes
    v1.1.0 - The biggest update yet (Read UPGRADE.txt !Important)
    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