UNPKG

@aidenlx/player

Version:

Headless web components that make integrating media on the a web a breeze.

32 lines (27 loc) 503 B
import { css } from 'lit'; export const basePlayerStyles = css` :host { display: block; contain: content; background: #000; } :host([hidden]) { display: none; } ::slotted(vds-media-ui) { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; /* Position above media container. */ z-index: 1; } .provider { width: 100%; height: 100%; pointer-events: auto; touch-action: manipulation; } `;