Skip to main content
Version: 4.x

vime-click-to-play

Enables toggling playback by clicking the player.

Usage#

<vime-player>  <!-- ... -->  <vime-ui>    <!-- ... -->    <vime-click-to-play></vime-click-to-play>  </vime-ui></vime-player>

Properties#

PropertyAttributeDescriptionTypeDefault
useOnMobileuse-on-mobileBy default this is disabled on mobile to not interfere with playback, set this to true to enable it.booleanfalse

CSS Custom Properties#

NameDescription
--vm-click-to-play-z-indexThe position in the UI z-axis stack inside the player.

Dependencies#

Used by#

Graph#

graph TD;  vime-default-ui --> vime-click-to-play  style vime-click-to-play fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS