Skip to content

Commit 9ab958d

Browse files
committed
Remove all video files and use github instead
1 parent 0a96b78 commit 9ab958d

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

apps/website/src/components/Playground/Workspace/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import FileSystemManager from "./FileSystemManager";
1414
import { SAMPLE_FILES } from "../const";
1515
import Editor from "./Editor";
1616

17-
const defaultArgs = JSON.stringify(["-i", "video.avi", "video.mp4"], null, 2);
17+
const defaultArgs = JSON.stringify(["-i", "video.webm", "video.mp4"], null, 2);
1818

1919
interface WorkspaceProps {
2020
ffmpeg: MutableRefObject<FFmpeg>;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export const CORE_SIZE = {
1212
};
1313

1414
export const SAMPLE_FILES = {
15-
"video.avi":
16-
"https://raw.githubusercontent.com/ffmpegwasm/testdata/master/video-3s.avi",
15+
"video.webm":
16+
"https://raw.githubusercontent.com/ffmpegwasm/testdata/master/Big_Buck_Bunny_180_10s.webm",
1717
};

apps/website/src/pages/playground.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,15 @@ development!
3030

3131
<div style={{ height: 32 }} />
3232

33+
:::tip
34+
Demo Video: [https://youtu.be/F01B0fV20QA](https://youtu.be/F01B0fV20QA)
35+
:::
36+
3337
## How to Use :rocket:
3438

3539
> It is recommended to read [Overview](/docs/overview) first to learn
3640
ffmpeg.wasm fundamentals.
3741

38-
Demo Video:
39-
<video width="100%" controls>
40-
<source src="/video/playground-how-to.mp4" type="video/mp4" />
41-
</video>
42-
4342
A typical flow to use ffmpeg.wasm is:
4443

4544
#### Download and load JavaScript & WebAssembly assets
-6.04 MB
Binary file not shown.
-1.37 MB
Binary file not shown.
-283 KB
Binary file not shown.

0 commit comments

Comments
 (0)