Skip to content

Commit 28bd36b

Browse files
committed
fix: update CDN URLs to version 0.12.10 consistently
1 parent 14a9f61 commit 28bd36b

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

apps/solidstart-app/src/routes/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { FFmpeg } from '@ffmpeg/ffmpeg';
22
import { fetchFile, toBlobURL } from '@ffmpeg/util';
33
import { createSignal, Show } from 'solid-js';
44

5-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/esm';
5+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/esm';
66
const videoURL =
77
'https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi';
88

apps/sveltekit-app/src/lib/FFmpegDemo.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
let videoEl: HTMLVideoElement;
88
9-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/esm';
9+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/esm';
1010
const videoURL = 'https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi';
1111
1212
let message = 'Click Start to Transcode';

apps/vue-vite-app/src/components/FFmpegDemo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { LogEvent } from '@ffmpeg/ffmpeg/dist/esm/types'
1111
import { fetchFile, toBlobURL } from '@ffmpeg/util'
1212
import { defineComponent, ref } from 'vue'
1313
14-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].9/dist/esm'
14+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/esm'
1515
const videoURL = 'https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-15s.avi'
1616
1717
export default defineComponent({

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ yarn add @ffmpeg/ffmpeg @ffmpeg/util
3131

3232
:::info
3333
As `@ffmpeg/ffmpeg` spawns a web worker, you cannot import `@ffmpeg/ffmpeg` from CDN like
34-
unpkg. It is recommended to download it and host it on your server most of the time.
34+
jsdelivr. It is recommended to download it and host it on your server most of the time.
3535
:::

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function() {
2424
const messageRef = useRef(null);
2525

2626
const load = async () => {
27-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
27+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
2828
const ffmpeg = ffmpegRef.current;
2929
ffmpeg.on('log', ({ message }) => {
3030
messageRef.current.innerHTML = message;
@@ -81,7 +81,7 @@ function() {
8181
const messageRef = useRef(null);
8282

8383
const load = async () => {
84-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
84+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
8585
const ffmpeg = ffmpegRef.current;
8686
ffmpeg.on('log', ({ message }) => {
8787
messageRef.current.innerHTML = message;
@@ -134,7 +134,7 @@ function() {
134134
const messageRef = useRef(null);
135135

136136
const load = async () => {
137-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
137+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
138138
const ffmpeg = ffmpegRef.current;
139139
ffmpeg.on('log', ({ message }) => {
140140
messageRef.current.innerHTML = message;
@@ -192,7 +192,7 @@ function() {
192192
const messageRef = useRef(null);
193193

194194
const load = async () => {
195-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
195+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
196196
const ffmpeg = ffmpegRef.current;
197197
// Listen to progress event instead of log.
198198
ffmpeg.on('progress', ({ progress, time }) => {
@@ -243,7 +243,7 @@ function() {
243243
const messageRef = useRef(null);
244244

245245
const load = async () => {
246-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
246+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
247247
const ffmpeg = ffmpegRef.current;
248248
ffmpeg.on('log', ({ message }) => {
249249
messageRef.current.innerHTML = message;
@@ -313,7 +313,7 @@ function() {
313313
const messageRef = useRef(null);
314314

315315
const load = async () => {
316-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
316+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
317317
const ffmpeg = ffmpegRef.current;
318318
ffmpeg.on('log', ({ message }) => {
319319
messageRef.current.innerHTML = message;
@@ -372,7 +372,7 @@ function() {
372372
const messageRef = useRef(null);
373373

374374
const load = async () => {
375-
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].6/dist/umd'
375+
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected].10/dist/umd'
376376
const ffmpeg = ffmpegRef.current;
377377
ffmpeg.on('log', ({ message }) => {
378378
messageRef.current.innerHTML = message;
@@ -426,7 +426,7 @@ function() {
426426
:::note
427427
Required:
428428

429-
- @ffmpeg/ffmpeg@0.12.6+
429+
- @ffmpeg/ffmpeg@0.12.10+
430430
- @ffmpeg/core@0.12.4+
431431
:::
432432

@@ -437,7 +437,7 @@ Please Check this PR: [Add WORKERFS support](https://github.com/ffmpegwasm/ffmpe
437437
:::note
438438
Required:
439439

440-
- @ffmpeg/ffmpeg@0.12.6+
440+
- @ffmpeg/ffmpeg@0.12.10+
441441
- @ffmpeg/core@0.12.4+
442442
:::
443443

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.6";
1+
export const CORE_VERSION = "0.12.10";
22

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

0 commit comments

Comments
 (0)