CSS file naming & X-Content-Type-Options: nosniff
ut opened this issue · 0 comments
ut commented
Including the CSS files like "player.default.css" can cause a HTTP header error by the X-Content-Type-Options directive.
The parameter Nosniff prevents CSS files from loading if the MIME type is not "text/css". Some servers might interpret for the file "player.default.css" as file extension "default", not "css".
My workaround was to rename the CSS file (e.g. into "player_default.css")