import type { FC } from 'react' import { Dialog, DialogContent } from '@langgenius/dify-ui/dialog' import { useTranslation } from 'react-i18next' type VideoPreviewProps = { url: string title: string onCancel: () => void } const VideoPreview: FC = ({ url, title, onCancel, }) => { const { t } = useTranslation() return ( { if (!open) onCancel() }} disablePointerDismissal >
e.stopPropagation()} >
) } export default VideoPreview