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() {
7575 const messageRef = useRef (null );
7676
7777 const load = async () => {
78- const baseURL = ' https://unpkg.com/@ffmpeg/core-mt@0.12.0-alpha.2 /dist/umd'
78+ const baseURL = ' https://unpkg.com/@ffmpeg/core-mt@0.12.1 /dist/umd'
7979 const ffmpeg = ffmpegRef .current ;
8080 ffmpeg .on (" log" , ({ message }) => {
8181 messageRef .current .innerHTML = message;
@@ -184,7 +184,7 @@ function() {
184184 const load = async () => {
185185 const ffmpeg = ffmpegRef .current ;
186186 // Listen to progress event instead of log.
187- ffmpeg .on (" progress" , (progress ) => {
187+ ffmpeg .on (" progress" , ({ progress } ) => {
188188 messageRef .current .innerHTML = ` ${ progress * 100 } %` ;
189189 });
190190 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 " ;
22
33export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${ CORE_VERSION } /dist/umd/ffmpeg-core.js` ;
44export 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