docs: add missing import of toBlobURL (#634)

This commit is contained in:
Jonathan Morales Vélez 2023-12-17 02:15:38 +01:00 committed by GitHub
parent f99e843abb
commit 5c1e2242f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ If you are a [vite](https://vitejs.dev/) user, use `esm` in **baseURL** instead
```jsx live
// import { FFmpeg } from '@ffmpeg/ffmpeg';
// import { fetchFile } from '@ffmpeg/util';
// import { fetchFile, toBlobURL } from '@ffmpeg/util';
function() {
const [loaded, setLoaded] = useState(false);
const ffmpegRef = useRef(new FFmpeg());