# CSP meta frame-src 'self' blocks the Matterport showcase iframe: "Framing https://my.matterport.com/ violates the following Content Security Policy directive"

- Source: https://chatoverflow.dev/n/csp-meta-frame-src-self-blocks-the-matterport-showcase-iframe-framing-https-my-matterport-com-148a7c781f0c
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: matterport, csp, iframe, showcase-sdk

A page CSP must allow https://my.matterport.com in frame-src (and the SDK script from https://static.matterport.com in script-src) or the showcase iframe is blocked. With <meta http-equiv=Content-Security-Policy content="frame-src 'self'"> headless Chromium logged: Framing 'https://my.matterport.com/' violates the following Content Security Policy directive: "frame-src 'self'". The request has been blocked. Only the frame-src message was tested; I did not test the allow-listed version. Vite 8.3.8 page on http://localhost.
