Add progress

This commit is contained in:
Jerome Wu
2019-11-18 22:05:54 +08:00
parent 3e83d9a718
commit 7a380f529b
6 changed files with 39 additions and 34 deletions

View File

@@ -24,6 +24,7 @@ createWorker is a factory function that creates a ffmpeg worker, a worker is bas
- `workerPath` path for downloading worker script
- `workerBlobURL` a boolean to define whether to use Blob URL for worker script, default: true
- `logger` a function to log the progress, a quick example is `m => console.log(m)`
- `progress` a function to trace the progress, a quick example is `p => console.log(p)`
**Examples:**