import type { Media } from "@osdk/api";
export interface BaseVideoViewerProps {
	/** Object URL pointing to the video */
	src: string;
	/** MIME type for the <source> element (e.g. "video/mp4")
	* @default undefined */
	mimeType?: string;
	/** Additional CSS class name for the root element
	* @default undefined */
	className?: string;
	/** Callback when the video fails to load
	* @default undefined */
	onError?: () => void;
}
export interface VideoViewerMediaProps extends Omit<BaseVideoViewerProps, "src"> {
	/** The Media object to fetch video contents from */
	media: Media;
}
