Sliders
Volume Slider
This component is used to create a range input for controlling the volume of media.
Usage
The <VolumeSlider>
component receives volume updates from the provider through the media store, and dispatches a media-volume-change-request
event to request updating the current volume level on the provider as the slider value changes.
The media volume range is between 0
(min) and 1
(max), but on the slider it's between 0
and 100
. The conversion is automatically handled by this component.
Styling
You can override the default styles with CSS like so:
Previews
Styling
Previous
<-
Time Slider
Next
Slider Value Text
->