import { Accessibility, VideoBehaviorProps } from '@fluentui/accessibility'; import { UIComponentProps } from '../../utils'; import { FluentComponentStaticProps } from '../../types'; import { ComponentWithAs } from '@fluentui/react-bindings'; export interface VideoProps extends UIComponentProps { /** * Accessibility behavior if overridden by the user. */ accessibility?: Accessibility; /** Whether the video should start playing when rendered. Autoplay videos must be muted or they will not play immediately in certain browers like Chrome. */ autoPlay?: boolean; /** Whether to display the native video controls. */ controls?: boolean; /** Whether the video should automatically restart after it ends. */ loop?: boolean; /** Whether the video should be allowed to play audio. */ muted?: boolean; /** Image source URL for when video isn't playing. */ poster?: string; /** Video source URL. */ src?: string; } export declare const videoClassName = "ui-video"; export declare type VideoStylesProps = Required>; /** * A Video provides ability to embed video content. */ export declare const Video: ComponentWithAs<'video', VideoProps> & FluentComponentStaticProps;