Version: 4.x
vime-playback-control
A control for toggling the playback state (play/pause) of the current media.
#
Visual#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Attribute | Description | Type | Default |
---|---|---|---|---|
hideTooltip | hide-tooltip | Whether the tooltip should not be displayed. | boolean | false |
keys | keys | A slash (/ ) separated string of JS keyboard keys (KeyboardEvent.key ), that when caught in a keydown event, will trigger a click event on the control. | string ∣ undefined | 'k' |
pauseIcon | pause-icon | The URL to an SVG element or fragment to load. | string | '#vime-pause' |
playIcon | play-icon | The URL to an SVG element or fragment to load. | string | '#vime-play' |
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#
GraphBuilt with StencilJS