VAudioPlayer
Props
| Name | Type | Description |
|---|---|---|
| connotation | Enum:accentcta | Sets the color of the audio player |
| current-time | number | |
| disabled | boolean | Sets the disabled state of the audio player |
| duration | number | |
| duration-fallback | boolean | Enables fallback logic to fetch and decode audio buffer for duration when metadata is missing. |
| notime | boolean | Hides the time stamp |
| pause-button-aria-label | string | |
| paused | boolean | |
| play-button-aria-label | string | |
| playback-rate | number | |
| playback-rates | string | Comma-separated string of numbers to define playback speeds |
| skip-backward-aria-label | string | |
| skip-by | Enum:051030 | Allows the audio to skip back or forward |
| skip-forward-aria-label | string | |
| slider-aria-label | string | |
| src | string | Sets the audio source URL |
Events
| Name | Event Type | Description |
|---|---|---|
| pause | CustomEvent<undefined> | Fires when the audio playback is paused. |
| play | CustomEvent<undefined> | Fires when the audio playback is started. |
Methods
| Name | Type | Description |
|---|---|---|
| pause | () => void | |
| play | () => void |