Own Design & Presets

Design your FrissBee Audio Player the way you want.

Overview

The FrissBee Audio Player has a number of setting options for the design.

Here is the list of all attributes:

  • bg-color
  • color-text-playerbar
  • font-band-name
  • font-song-title
  • color-slider
  • color-play-pause
  • color-buttons
  • height-playlist
  • on-off-playlist
  • volume-start
  • color-playlist-text-inactive
  • color-playlist-text-active
  • color-playlist-bg-inactive
  • color-playlist-bg-active
  • shadow-player

Attribute description

It would result in a long text if all attributes were described individually here. It is much easier to generate the design with the Design Generator. You will see very quickly which attributes can take which value. That is much easier, isn't it?

The easiest way to change the design

Use a preset from the FrissBee Audio Player and change only the attributes you want to adjust. You can set this in the frissbee-audio-player HTM tag or with JavaScript using the setAttribute() methode.

An example of changing the attribute volume-start with the preset dark:

In the frissbee-audio-player HTML tag

With JavaScript

Change the design with all attributes

For a completely own design you can set all attributes of course. Then the attribute preset is not necessary - better said unnecessary.

Of course you can do this in the frissbee-audio-player HTML tag or in the JavaScript file with setAttribute() as described in "The easiest way to change the design".

You can use the Design Generator for this.

Change the design with own presets

You can also create your own presets. Create a preset with all the attributes. The Design Generator makes it simple and fast.

The following code example shows what a list of presets looks like and how to pass it to the player using the property customPresets:


If you want to get the value of an attribute, then use the getAttribute() method.