ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
13.45k stars 772 forks source link

Enabling these two headers through nginx will block all third-party resources that the website is currently using. #724

Open huozhiyan opened 2 months ago

huozhiyan commented 2 months ago

Describe the bug Enabling these two headers through nginx will block all third-party resources that the website is currently using.This has brought us some troubles.  Cross-Origin-Embedder-Policy: require-corp; Cross-Origin-Opener-Policy: same-origin;  Is there any other solution besides adding these two headers to third-party resources?  Thank you in advance!


通过nginx启用这两个标头将阻止网站正在使用的所有第三方资源。这给我们带来了一些麻烦。

Cross-Origin-Embedder-Policy: require-corp; Cross-Origin-Opener-Policy: same-origin;

除了将这两个标头添加到第三方资源之外,还有其他解决方案吗? 提前感谢!

huozhiyan commented 2 months ago

I tried to add these two headers only to requests related to ffmpeg, but it doesn't seem feasible. Are you facing the same problem? Do you have a good solution?


我尝试只对ffmpeg相关的请求添加这两个标头,但似乎并不可行。 你也面临着同样的问题吗?有没有好的解决方案?

syjf commented 2 months ago

描述错误 通过 nginx 启用这两个标头将阻止网站当前使用的所有第三方资源。这给我们带来了一些麻烦。 除了将这两个标头添加到第三方资源之外,还有其他解决方案吗? 先谢谢你!Cross-Origin-Embedder-Policy: require-corp;``Cross-Origin-Opener-Policy: same-origin;

通过nginx启用这两个标头将阻止网站正在使用的所有第三方资源。这给我们带来了一些麻烦。

Cross-Origin-Embedder-Policy: require-corp; Cross-Origin-Opener-Policy: same-origin;

除了将这两个标头添加到第三方资源之外,还有其他解决方案吗? 提前感谢! Good brother, have you found a solution yet