File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/components/Playground Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function() {
75
75
const messageRef = useRef (null );
76
76
77
77
const load = async () => {
78
- const baseURL = ' https://unpkg.com/@ffmpeg/[email protected] .0-alpha.2 /dist/umd'
78
+ const baseURL = ' https://unpkg.com/@ffmpeg/[email protected] .1 /dist/umd'
79
79
const ffmpeg = ffmpegRef .current ;
80
80
ffmpeg .on (" log" , ({ message }) => {
81
81
messageRef .current .innerHTML = message;
@@ -184,7 +184,7 @@ function() {
184
184
const load = async () => {
185
185
const ffmpeg = ffmpegRef .current ;
186
186
// Listen to progress event instead of log.
187
- ffmpeg .on (" progress" , (progress ) => {
187
+ ffmpeg .on (" progress" , ({ progress } ) => {
188
188
messageRef .current .innerHTML = ` ${ progress * 100 } %` ;
189
189
});
190
190
await ffmpeg .load ();
Original file line number Diff line number Diff line change 1
- export const CORE_VERSION = "0.12.0-alpha.2 " ;
1
+ export const CORE_VERSION = "0.12.1 " ;
2
2
3
3
export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${ CORE_VERSION } /dist/umd/ffmpeg-core.js` ;
4
4
export const CORE_MT_URL = `https://unpkg.com/@ffmpeg/core-mt@${ CORE_VERSION } /dist/umd/ffmpeg-core.js` ;
You can’t perform that action at this time.
0 commit comments