Front-end made easy. Embeds, lightboxes, and audio players.
Animate, tween, or customize any page element by timecode or song progress — without a line of JavaScript.
CASHMusic.js is a lightweight JavaScript library that handles CASH Music embeds, video lightboxing, and provides simple audio players. It also provides no-script animation keyed to song progress, enabling advanced audio players with little to no coding.
Advanced demos
Feature: CASH Music platform embeds
These are the standard embed codes offered via the CASH Music platform — HTML5-friendly workflows embedded in your page with a single line of JavaScript. These examples show an email signup form for the CASH Music mailing list.
Feature: Video lightboxes
These are built from simple, ordinary links to YouTube or Vimeo pages. No embed codes, no scripts. Just link to the page and specify the “lightboxvideo” option by adding ‘data-options=”lightboxvideo”‘ to the CASHMusic.js script tag.
Feature: Basic-interface players
These players are built using the same progress/tween animation featured throughout the page. An add-on module controls the playlists, pulls in a standard template using basic html/css, and grabs the playlist either from JSON or by collecting all links to valid audio in a div classed “cashmusic soundplayer playlist” — flexible and easy to configure or customize.
Advanced options for data tagging and JSONP-based audio-source resolution coming soon.
A playlist play/pause toggle: Toggle (second) playlist
Feature: Video lightboxes
These are built from simple, ordinary links to YouTube or Vimeo pages. No embed codes, no scripts. Just link to the page and specify the “lightboxvideo” option by adding ‘data-options=”lightboxvideo”‘ to the CASHMusic.js script tag.