forked from forks/ffprobe-wasm
Switch to Netlify static host to support SharedArrayBuffer via COEP/COOP headers. Github Pages does not support these headers yet.
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
# `FFProbe Wasm`
|
||||
> A Web-based FFProbe. Powered by FFmpeg, Vue and Web Assembly!
|
||||
|
||||
https://alfg.github.io/ffprobe-wasm/
|
||||
|
||||
⚠️ ️Compatible with Chrome and Edge only due to limited support for [SharedArrayBuffer](https://caniuse.com/sharedarraybuffer) and the [required CORS headers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) for Firefox on Github Pages.
|
||||
https://ffprobe-wasm.netlify.app/
|
||||
|
||||
## Development
|
||||
`ffprobe-wasm` uses [emscripten](https://emscripten.org/) to compile [FFmpeg](https://ffmpeg.org)'s [libav](https://ffmpeg.org/doxygen/4.1/index.html) to [Web Assembly](https://webassembly.org/) via [Docker](https://www.docker.com/).
|
||||
@@ -42,7 +40,9 @@ npm run build
|
||||
```
|
||||
|
||||
### Deploy
|
||||
Deploys to [Github Pages](https://pages.github.com/)
|
||||
Builds and deploys to `gh-pages` branch.
|
||||
|
||||
However, I am hosting on [Netlify](https://netlify.com) to enable [SharedArrayBuffer](https://caniuse.com/sharedarraybuffer) support via the [required CORS headers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer).
|
||||
```
|
||||
npm run deploy
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user