Support » Plugin: WP YouTube Lyte » Content Security Policy

  • Resolved cyberpunk2020

    (@cyberpunk2020)


    Hi,

    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?

    TIA
    Blechpirat

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

    (@optimizingmatters)

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

    cyberpunk2020

    (@cyberpunk2020)

    At this point

    default-src 'self' https://my.site; font-src data: https://my.site; frame-src https://www.youtube.com; child-src https://www.youtube.com; img-src https://my.site; script-src 'unsafe-inline' https://my.site; style-src 'unsafe-inline' https://ajax.googleapis.com https://my.site; block-all-mixed-content;

    seems to work.

    Thanks for your help!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

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

    have a nice day!
    frank

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