Adjusting Content Security Policy (CSP)

Stop your browser from blocking Videoly and YouTube requests

If your online store is using CSP, then we recommend adding the sources listed below to your Content Security Policies. 

This avoids browsers blocking all requests from Videoly and YouTube.

  • default-src: 'unsafe-inline' * * * * * * *
  • img-src: data: * * *
  • media-src: data:

Source "data" is needed, because the widget and YouTube's player have inline imaged embedded to avoid network requests.


  • If you defined script-src rule in you should add 

* * * * * * *

  • If you defined frame-src rule you should add 

*, *

These two options only apply when additional rules are defined.

Was this article helpful?