Skip to content

Commit f1254b1

Browse files
committed
Update website
1 parent 92a282d commit f1254b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/website/docs/getting-started/usage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function() {
7575
const messageRef = useRef(null);
7676

7777
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'
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();

apps/website/src/components/Playground/const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const CORE_VERSION = "0.12.0-alpha.2";
1+
export const CORE_VERSION = "0.12.1";
22

33
export const CORE_URL = `https://unpkg.com/@ffmpeg/core@${CORE_VERSION}/dist/umd/ffmpeg-core.js`;
44
export const CORE_MT_URL = `https://unpkg.com/@ffmpeg/core-mt@${CORE_VERSION}/dist/umd/ffmpeg-core.js`;

0 commit comments

Comments
 (0)