Playlists

Multiple playlists instead of just one

Overview

In FrissBee Audio Player it is possible to display multiple playlists to be able to select them.

If multiple playlists are passed to the player, then a select box is displayed with the passed playlists.

frissbee audio player

The structure of the playlists

This example shows how the structure of playlists is. The playlists is an object as datatype.

There is nothing more to do. Either one playlist is passed to FrissBee Audio Player, or several playlists. FrissBee Audio Player automatically recognizes what it gets.

Playlist Names

The keys of the object const myPlaylists are the names of the respective playlist.

frissbee audio player

In action

Here is an example to try it out.