Sound Player
Basic usage:
Default Player:
0:00
0:00
Small Player:
0:00
0:00
Player with Error:
0:00
0:00
Default Player with download actions:
0:00
0:00
Simple Sound Player:
Attributes for Sound Player Component
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
soundId | Sound Id Number (need for wavesurfer) | Number | String | --- | soundId |
src | Sound src (required) | String | --- | |
simple | Is Simple Player | Boolean | --- | false |
size | Size of Player | String | md | sm | md |
disabled | Is Disabled Player | Boolean | --- | false |
preIcon | --- | String | --- | |
currentPlay | Src of Playing Sound | String | --- | |
downloadLinks | Array Of Download Links | string[] | --- | [] |
Sound Player Events
Method | Description | Parameters |
---|---|---|
start | Sound play | soundId and src |
stop | Sound stop | soundId and src |
onPlay | wavesurfer on play | soundId and src |
pause | Sound pause | soundId and src |