Version: 4.x
vime-click-to-play
Enables toggling playback by clicking the player.
#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Attribute | Description | Type | Default |
---|---|---|---|---|
useOnMobile | use-on-mobile | By default this is disabled on mobile to not interfere with playback, set this to true to enable it. | boolean | false |
#
CSS Custom PropertiesName | Description |
---|---|
--vm-click-to-play-z-index | The position in the UI z-axis stack inside the player. |
#
Dependencies#
Used by#
GraphBuilt with StencilJS