postiz/libraries/react-shared-libraries/src/helpers/video.frame.tsx

10 lines
255 B
TypeScript

'use client';
import { FC } from 'react';
export const VideoFrame: FC<{ url: string }> = (props) => {
const { url } = props;
return <video className="w-full h-full object-cover" src={url + '#t=0.1'} preload="metadata" autoPlay={false}></video>;
};