← back to examples list

CPU-Audio configuration of the player

This is a primitive live configurator for CPU-Audio, helping you to tune it for your website. Please note that you should have a browser with webcomponents support to really enjoy it. See INSTALL.md for explanations on attributes and values.

Configure html Generated html Configure css Generated css Global parameters Generated global parameters  

, see Special case for live streamed media in INSTALL.md. Also check how to indicate a prefered downloadable audio resource.

Hide

Glow

Paste this HTML code where you want the player in your page


Go to CSS configurator
Breakpoints wider smaller
Time indicator width
Font size
Font small size
Height and width of the square buttons
Copy and paste this CSS code into your stylesheet. Or write it :

Please note : Some of those parameters cannot be changed live in this page.

Basic player

playStopOthers

scrollTo

Autoplay

IDPrefix

Interface aspect

globalCss

Playlist interactions

advanceInPlaylist

Keyboard navigation

keymove

Precise navigation with fingers

alternateDelay

fastFactor

repeatDelay

repeatFactor

Copy and paste this HTML code in the <head> before the <script> tag calling cpu-audio.js :

	

Beware to have a strict and valid JSON object.