Version: 5.x
vm-ui
Simple container that holds a collection of user interface components.
The only important role this component really has is, avoiding overlapping custom UI with the
native iOS media player UI. Therefore, custom UI is only displayed on iOS if the playsinline
prop is true
, and the player is not in fullscreen mode.
#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
SlotsSlot | Description |
---|---|
Used to pass in UI components for the player. |
#
CSS Custom PropertiesName | Description |
---|---|
--vm-ui-z-index | The position in the root z-axis stack inside the player. |