Refused to load Spotify embed
-
Hello! And thanks for providing such a great tool!
I’m experiencing a problem with a Spotify playlist embed on my site, which is seemingly occurring from some sort of clash with the LiteSpeed Cache plugin.
The
iframe
is embedded on a page of my site, and works well whenever cache is disabled in the LiteSpeed Cache plugin, as well as about 10 minutes after clearing the LiteSpeed cache when the caching feature is enabled. When cache is enabled, the console provides the website visitor with the following error:Refused to load https://open.spotify.com/embed/playlist/3PIuQwGcZBYpWY2dhXDjSa?utm_source=generator because it does not appear in the frame-src directive of the Content Security Policy.
I’ve made sure that I’ve excluded
cookies_and_content_security_policy
in LiteSpeed Cache, and I’ve also added Spotify from quick start in the Cookies and Consent Security Policy. I have other embeds (e.g. Google Maps and YouTube) that work just fineDo you have any idea what might be causing this? Thanks for the help!
The page I need help with: [log in to see the link]
- The topic ‘Refused to load Spotify embed’ is closed to new replies.