VAudioPlayer
Props
| Name | Type | Description |
|---|---|---|
| connotation | Enum:accentcta | The connotation the audio-player should have. |
| disabled | boolean | Indicates whether audio player is disabled. |
| duration-fallback | boolean | Enables fallback logic to fetch and decode audio buffer for duration when metadata is missing. |
| notime | boolean | |
| pause-button-aria-label | string | |
| play-button-aria-label | string | |
| playback-rates | string | Sets the available playback rates. When an empty string, no choices will be available |
| 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 | Indicates the audio-player's src. |
Events
| Name | Event Type | Description |
|---|---|---|
| blur | FocusEvent | Fires when the element loses focus. |
| click | MouseEvent | Fires when a pointing device button (such as a mouse's primary mouse button) is both pressed and released while the pointer is located inside the element. |
| focus | FocusEvent | Fires when the element receives focus. |
| input | Event | Fires when the value of an element has been changed. |
| keydown | KeyboardEvent | Fires when a key is pressed. |
| keyup | KeyboardEvent | Fires when a key is released. |
Methods
| Name | Type | Description |
|---|---|---|
| pause | () => unknown | |
| play | () => unknown | |
| srcChanged | () => unknown |