vime-dbl-click-fullscreen

Enables toggling fullscreen mode by double clicking the player.

Usage

<vime-player>
<!-- ... -->
<vime-ui>
<!-- ... -->
<vime-dbl-click-fullscreen></vime-dbl-click-fullscreen>
</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-dbl-click-fullscreen-z-indexThe position in the UI z-axis stack inside the player.

Dependencies

Used by

Graph

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

Built with StencilJS