Version: 4.x
vime-volume-control
A control for adjusting the volume of the player and toggling the muted state.
Visual#

Usage#
- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
Properties#
| Property | Attribute | Description | Type | Default | 
|---|---|---|---|---|
| hideTooltip | hide-tooltip | Whether the tooltip should be hidden. | boolean | false | 
| highVolumeIcon | high-volume-icon | The URL to an SVG element or fragment. | string | '#vime-volume-high' | 
| lowVolumeIcon | low-volume-icon | The URL to an SVG element or fragment. | string | '#vime-volume-low' | 
| muteKeys | mute-keys | A pipe ( /) separated string of JS keyboard keys, that when caught in akeydownevent, will toggle the muted state of the player. | string ∣ undefined | 'm' | 
| mutedIcon | muted-icon | The URL to an SVG element or fragment. | string | '#vime-volume-mute' | 
| noKeyboard | no-keyboard | Prevents the volume being changed using the Up/Down arrow keys. | boolean | false | 
| tooltipDirection | tooltip-direction | The direction in which the tooltip should grow. | "left" ∣ "right" ∣ undefined | undefined | 
| tooltipPosition | tooltip-position | Whether the tooltip is positioned above/below the control. | "bottom" ∣ "top" | 'top' | 
Dependencies#
Used by#
Depends on#
Graph#
Built with StencilJS