Answer the question
In order to leave comments, you need to log in
How to give CORS permission on server for video?
For a project on CodePen, I need a video from my hosting, but I constantly get an error related to CORS access.
Already dug up the entire Internet and did not understand how to make a normal server response.
Answer the question
In order to leave comments, you need to log in
Good afternoon.
Add the following directive to .htaccess:
Header set Access-Control-Allow-Origin '*'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question