Introduction
Get Started - The easiest way to integrate the FrissBee Audio Player into your site.
Overview
The FrissBee Audio Player can be customized in its design and thus be adapted to your website.
Before we customize it in its design we want to integrate it into the website first.
Then we pass the playlist with all audio files to the player.
Let's start.
To integrate the FrissBee Audio Player with the default settings, only 3 simple steps are necessary.
- 1. Step: Download and implement the
frissbee-audio-player.js
folder - 2. Step: Implement the
frissbee-audio-player
HTML tag - 3. Step: Set the
playlist
to the selectedfrissbee-audio-player
1. Step
The FrissBee Audio Player consists of only one *.js file. The file can be downloaded here.
Note: It is better NOT to use “defer”.
2. Step
Paste the frissbee-audio-player
HTML tag in the desired location on your page.
3. Step
For the 3rd step, three things need to be done in JavaScript:
- a) a list of
objects
in anarray
containing the details of each audio file - b) select the
frissbee-audio-player
HTML element - c) give the playlist to the selected
frissbee-audio-player
HTML element with the properyplaylist
For more information see here.
All the code
And here is the complete code at a glance.
Of course, the JavaScript code can also be implemented in a separate *.js
file.
The result
With the above code you will get the following FrissBee Audio Player with its standard design.