Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noembed.com doesn't have CORS policy setup #132

Open
verybigelephants opened this issue Jun 19, 2024 · 0 comments
Open

noembed.com doesn't have CORS policy setup #132

verybigelephants opened this issue Jun 19, 2024 · 0 comments

Comments

@verybigelephants
Copy link

Steps to reproduce:

  • have a third party domain
  • try to embed video via javascript, like call request to https://noembed.com/embed?nowrap=on&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrY-FJvRqK0E&_=1718791035622
  • you will get an error that noembed.com has not CORS configured:
Access to XMLHttpRequest at 'https://noembed.com/embed?nowrap=on&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrY-FJvRqK0E&_=1718791035620' from origin 'https://yourdomain.com' has been blocked by CORS policy: Request header field x-csrf-token is not allowed by Access-Control-Allow-Headers in preflight response.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant