Files
_hublib-web/dist/react/video-player/video-player.d.ts
2026-02-27 09:50:13 +03:00

26 lines
1.1 KiB
TypeScript

import "./tach-video-js.css";
import React, { ReactNode } from "react";
import { PreloadType } from "./components/video-js/types";
import { IWithProcessingVideoPlayerProps } from "./components/with-processing";
export interface IVideoPlayerProps extends Omit<IWithProcessingVideoPlayerProps, "options" | "children"> {
className?: string;
src: string;
type?: string;
preload?: PreloadType;
muted?: boolean;
fluid?: boolean;
responsive?: boolean;
controls?: boolean;
aspectRatio?: string;
preferHQ?: boolean;
width?: number | null;
height?: number | null;
autoplay?: boolean;
cover?: ReactNode;
lazy?: boolean;
debug?: boolean;
forceHover?: boolean;
}
export declare const VideoPlayer: React.MemoExoticComponent<({ src, type, showErrors, showProcessing, withLoading, withBlur, duration, preload, controls, muted, fluid, responsive, autoplay, width, height, aspectRatio, preferHQ, lazy, debug, forceHover, ...props }: IVideoPlayerProps) => import("react/jsx-runtime").JSX.Element>;
export default VideoPlayer;
//# sourceMappingURL=video-player.d.ts.map