UNPKG

@vime/core

Version:

Customizable, extensible, accessible and framework agnostic media player.

1 lines 793 B
import{r as s,h as t}from"./p-aa8acb66.js";import{c as l}from"./p-b018976f.js";const i=class{constructor(t){s(this,t),this.noClickToPlay=!1,this.noDblClickFullscreen=!1,this.noCaptions=!1,this.noPoster=!1,this.noSpinner=!1,this.noControls=!1,this.noSettings=!1,this.noLoadingScreen=!1,l(this)}render(){return t("vm-ui",null,!this.noClickToPlay&&t("vm-click-to-play",null),!this.noDblClickFullscreen&&t("vm-dbl-click-fullscreen",null),!this.noCaptions&&t("vm-captions",null),!this.noPoster&&t("vm-poster",null),!this.noSpinner&&t("vm-spinner",null),!this.noLoadingScreen&&t("vm-loading-screen",null),!this.noControls&&t("vm-default-controls",null),!this.noSettings&&t("vm-default-settings",null),t("slot",null))}};i.style=":host{display:contents;pointer-events:none}";export{i as vm_default_ui}