Version: 4.x
vime-default-controls
Default set of controls for when you're in a hurry. The controls displayed depend on whether
the media is audio/video/live, and whether the device is mobile/desktop. See
vime-default-ui
for visuals.
#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.html
#
PropertiesProperty | Attribute | Description | Type | Default |
---|---|---|---|---|
activeDuration | active-duration | The length in milliseconds that the controls are active for before fading out. Audio players are not effected by this prop. | number | 2750 |
hideOnMouseLeave | hide-on-mouse-leave | Whether the controls should hide when the mouse leaves the player. Audio players are not effected by this prop. | boolean | false |
hideWhenPaused | hide-when-paused | Whether the controls should show/hide when paused. Audio players are not effected by this prop. | boolean | false |
waitForPlaybackStart | wait-for-playback-start | Whether the controls should wait for playback to start before being shown. Audio players are not effected by this prop. | boolean | false |
#
Dependencies#
Used by#
Depends on- vime-controls
- vime-playback-control
- vime-volume-control
- vime-current-time
- vime-control-spacer
- vime-scrubber-control
- vime-live-indicator
- vime-end-time
- vime-settings-control
- vime-control-group
- vime-fullscreen-control
- vime-scrim
- vime-caption-control
- vime-time-progress
- vime-pip-control
#
GraphBuilt with StencilJS