You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using MSE on mp4 file which hosted on SinaCloud, got an error:
Access to XMLHttpRequest at 'https://static.ftqq.com/resource-f392edb2f32fe3b2cb2fd58619ac798381b91602' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.
The text was updated successfully, but these errors were encountered:
easychen
changed the title
xhr.setRequestHeader('Access-Control-Allow-Origin', '*') in mp4 plugin cause CORS error
xhr.setRequestHeader('Access-Control-Allow-Origin', '*') in mp4 plugin causes CORS error
May 13, 2019
🐛 Bug Report
when using MSE on mp4 file which hosted on SinaCloud, got an error:
To Reproduce
add https://static.ftqq.com/resource-f392edb2f32fe3b2cb2fd58619ac798381b91602 as source play_url , turn useMSE on , press play button and you will see the error.
comment line 51~52 on griffith-mp4/esm/index.js , then works well .
Expected behavior
play the video.
Run
npx envinfo --system --binaries --npmPackages griffith --markdown --clipboard
Paste the results here:
The text was updated successfully, but these errors were encountered: