next-video
Version:
A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.
5 lines (4 loc) • 297 B
TypeScript
import type { PlayerProps } from '../types.js';
import type { MediaProps } from './media/index.js';
declare const BackgroundPlayer: import("react").ForwardRefExoticComponent<Omit<MediaProps, "ref"> & PlayerProps & import("react").RefAttributes<HTMLVideoElement>>;
export default BackgroundPlayer;