minimal | Displays a minimal version of the audio player, with only the play/pause button, track bar and timestamp | false | Yes |
width | Width of the audio player | N/A | No |
barWidth | Width of each individual bar in the visualization | 2 | Yes |
gap | Gap between each bar in the visualization | 1 | Yes |
visualise | Represents whether the audio visualization (waveform) should be displayed | true | Yes |
trackHeight | Height of the visualization / trackbar area | 75 | Yes |
backgroundColor | Background color for the audio player | #EFEFEF | Yes |
barColor | Color for the bars in the visualization. This only applies to bars that have not currently been played | "rgb(184, 184, 184)"" | Yes |
barPlayedColor | Color for the bars that have been played | "rgb(160, 198, 255)"" | Yes |
allowSkip | Represents whether the skip forward/backward options should be displayed | true | Yes |
skipDuration | The number of seconds to skip forward/backward | 5 | Yes |
showLoopOption | Represents whether to show the loop options | true | Yes |
showVolumeControl | Represents whether the volume control should be shown | true | Yes |
seekBarColor | Color for the audio seek bar | rgba(140, 140, 140) | Yes |
volumeControlColor | Color for the volumn control | rgba(140, 140, 140) | Yes |
hideSeekBar | Hides the seek bar if set to true , the audio will still be seekable | false | Yes |
hideSeekKnobWhenPlaying | Hides the seek knob when audio is playing if set to true | false | Yes |