Support » Plugin: WP YouTube Lyte » Content Security Policy

  • Resolved cyberpunk2020



    I’m trying to etablish a Content Security Policy. But no matter what I try – as soon as its established, no matter how lax, Videos shown by lyte disappear.

    What am I doing wrong?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters


    are you allowing unsafe-inline? because lyte does come with inline JS that needs to work.



    At this point

    default-src 'self'; font-src data:; frame-src; child-src; img-src; script-src 'unsafe-inline'; style-src 'unsafe-inline'; block-all-mixed-content;

    seems to work.

    Thanks for your help!

    Plugin Author Optimizing Matters


    good job @cyberpunk2020, thanks for sharing! feel free to leave a review of the plugin and support here! 🙂

    have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content Security Policy’ is closed to new replies.