Cross origin HTML <video> does not load in Google Chrome

JavascriptWeb DevelopmentFront End Scripts

To solve the loading issues in the <video> element, you need to set cross-origin to “anonymous”:

<video crossorigin = "anonymous"></video>

You can also try another fix also.

This can be due to missing of Access-Control-Allow-Headers response header with the list of HTTP headers that match the list passed in Access-Control-Request-Headers request header.

Updated on 28-Jan-2020 10:21:47