import {studioLink} from './platform'; import {useEffect,useState} from 'react'; import {MusicEditor} from './MusicEditor'; import {EmailGifEditor} from './EmailGifEditor'; import {validateLocalVideoFile,validateLocalVideoMetadata} from './local-video'; export default function LocalVideoTools(){ const [file,setFile]=useState();const [url,setUrl]=useState('');const [ready,setReady]=useState(false);const [error,setError]=useState(''); useEffect(()=>{if(!file){setUrl('');return;}const next=URL.createObjectURL(file);setUrl(next);return()=>URL.revokeObjectURL(next);},[file]); return

Work with your own video

Create an email GIF or add your own music. These tools run in your browser and use no generation credits. Your original file stays unchanged; nothing is uploaded or published.

Choose MP4 or WebM, up to 100 MB, two minutes and Full HD. No Picsart connection or product is required.

{error&&

{error}

}{url&&

{file?.name}

}
; }