@mux/mux-video-react
Version:
A custom mux video element for React that Just Works™
9 lines (8 loc) • 698 B
TypeScript
import React from 'react';
import { MuxMediaProps, generatePlayerInitTime } from '@mux/playback-core';
export type Props = Pick<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, Exclude<keyof React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, 'autoPlay'>> & MuxMediaProps;
export declare const playerSoftwareVersion: string;
export declare const playerSoftwareName = "mux-video-react";
export { generatePlayerInitTime };
declare const MuxVideo: React.ForwardRefExoticComponent<Pick<Partial<Props>, Exclude<keyof Partial<Props>, "ref">> & React.RefAttributes<HTMLVideoElement | undefined>>;
export default MuxVideo;