UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

15 lines (14 loc) 553 B
import { HTMLMediaProvider } from './media-provider'; import type { MediaProviderConfig } from '../../core/esl-media-provider'; /** * Simple Video API provider for {@link ESLMedia} * @author Yuliya Adamskaya */ export declare class VideoProvider extends HTMLMediaProvider { static readonly providerName: string; static readonly urlPattern: RegExp; protected _el: HTMLVideoElement; protected createElement(): HTMLVideoElement; protected applyElementSettings(cfg: MediaProviderConfig): void; get defaultAspectRatio(): number; }