docs: remove unnecessary thread param (#554)

This commit is contained in:
alsotang 2023-08-17 22:48:58 +08:00 committed by GitHub
parent afd04d914e
commit d9710f7a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,6 @@ function() {
`${baseURL}/ffmpeg-core.worker.js`, `${baseURL}/ffmpeg-core.worker.js`,
"text/javascript", "text/javascript",
), ),
thread: true,
}); });
setLoaded(true); setLoaded(true);
} }

View File

@ -17,7 +17,7 @@ export interface FFMessageLoadConfig {
*/ */
wasmURL?: string; wasmURL?: string;
/** /**
* `ffmpeg-core.worker.js` URL, only being loaded when `thread` is `true`. * `ffmpeg-core.worker.js` URL.
* *
* @defaultValue `https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.worker.js`; * @defaultValue `https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.worker.js`;
*/ */