@flk/audio-player
v1.3.0
Published
Audio player for Falak framework
Downloads
3
Readme
Audio player
This package implements the plyr package.
Installation
flk install flk-audio-player
Usage
hello-world.component.html
<flk-audio-player [src]="this.audioFilePath"></flk-audio-player>
Attributes
src
name: src
| [src]
default: N/a
required: true
Set the audio player source path.
controls
name: [controls]
default: ['play', 'progress', 'current-time', 'volume', 'settings', 'duration']
Set what controls to display on the audio player.
options
name: [options]
default: {}
Pass list of options to the player.
For full options list check this table.