Version: 4.x
vime-scrubber-control
A control that displays the progression of playback and the amount buffered on a horizontal timeline.
The timeline is a slider (input[type="range"]
) that can be used to change the current playback time.
If the player is buffering, the scrubber will display an animated candystripe in the porition of the timeline that has not buffered.
#
Visual#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Attribute | Description | Type | Default |
---|---|---|---|---|
alwaysShowHours | always-show-hours | Whether the timestamp in the tooltip should show the hours unit, even if the time is less than 1 hour (eg: 20:35 -> 00:20:35 ). | boolean | false |
hideTooltip | hide-tooltip | Whether the tooltip should not be displayed. | boolean | false |
noKeyboard | no-keyboard | Prevents seeking forward/backward by using the Left/Right arrow keys. | boolean | false |
#
CSS Custom PropertiesName | Description |
---|---|
--vm-scrubber-buffered-bg | The background color of the section that indicates how much of the media has been buffered. |
--vm-scrubber-loading-stripe-color | The color of each candystripe displayed when media is buffering. |
--vm-scrubber-loading-stripe-size | The size of each candystripe displayed when media is buffering. |
#
Dependencies#
Used by#
Depends on#
GraphBuilt with StencilJS