Skip to content

Commit 4c3a85b

Browse files
committed
Update homepage url
1 parent 007fc1e commit 4c3a85b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ffmpeg.wasm is a pure Webassembly / Javascript port of FFmpeg. It enables video
2525
</a>
2626
</p>
2727

28-
Try it: [https://ffmpegwasm.github.io](https://ffmpegwasm.github.io#demo)
28+
Try it: [https://ffmpegwasm.appspot.com/](https://ffmpegwasm.appspot.com/#demo)
2929

3030

3131
## Installation
@@ -46,8 +46,10 @@ $ node --experimental-wasm-threads --experimental-wasm-bulk-memory transcode.js
4646

4747
Or, using a script tag in the browser (only works in some browsers, see list below):
4848

49+
> SharedArrayBuffer is only available to pages that are [cross-origin isolated](https://developer.chrome.com/blog/enabling-shared-array-buffer/#cross-origin-isolation). So you need to host your own server with `Cross-Origin-Embedder-Policy: require-corp` and `Cross-Origin-Opener-Policy: same-origin` headers to use ffmpeg.wasm.
50+
4951
```html
50-
<script src="https://unpkg.com/@ffmpeg/[email protected]/dist/ffmpeg.min.js"></script>
52+
<script src="static/js/ffmpeg.min.js"></script>
5153
<script>
5254
const { createFFmpeg } = FFmpeg;
5355
...
@@ -99,7 +101,7 @@ const ffmpeg = createFFmpeg({
99101

100102
```javascript
101103
const ffmpeg = createFFmpeg({
102-
corePath: 'https://unpkg.com/@ffmpeg/[email protected]/dist/ffmpeg-core.js',
104+
corePath: 'static/js/ffmpeg-core.js',
103105
});
104106
```
105107

@@ -137,7 +139,7 @@ There are two components inside ffmpeg.wasm:
137139

138140
### Can I use ffmpeg.wasm in Firefox?
139141

140-
Yes, but only for Firefox 79+ with proper header in both client and server, visit https://ffmpegwasm.et.r.appspot.com to try whether your Firefox works.
142+
Yes, but only for Firefox 79+ with proper header in both client and server, visit https://ffmpegwasm.appspot.com to try whether your Firefox works.
141143

142144
![](https://user-images.githubusercontent.com/5723124/98955802-4cb20c80-253a-11eb-8f16-ce0298720a2a.png)
143145

0 commit comments

Comments
 (0)