Vimeo Security Policy Error - Script Download Failure

When I try to insert a video from vimeo into my website, I get an error in the Chrome console -

Refused to load the script 'data: application / javascript; base64, dmFyIHVyY2hpblRyYWNrZXI9ZnVuY3Rpb24oKXt9 ... RUcmFja2VyQnlOYW1lOiBmdW5jdGlvbigpe190cmFja0V2ZW50OiBmdW5jdGlvbigpe319fTs = ', because it violates the following directives Content Security Policy: "script -src' self '' unsafe-inline '<a href =" https://f.vimeocdn.com "rel =" noreferrer "> https://f.vimeocdn.com https://ssl.google-analytics.com https://js-agent.newrelic.com https://bam.nr-data.net https: // f .vimeocdn.com ".

I get the same error on all sites that contains the vimeo player. For example - https://player.vimeo.com/video/174560759

This error crashes my javascript, which interacts with the Vimeo API.

Maybe someone knows what happened to Vimeo, and how can I solve this problem?

PS Firefox just shows me a warning in the console, and my js work well.

+6
source share
1 answer

I found that this error was caused by the uBlock Origin extension. It can also be triggered by others, such as AdBlock.

Try searching incognito or launch Chrome without extensions to see if the problem persists.

+3
source

Source: https://habr.com/ru/post/1014999/


All Articles