Can you embed vimeo.com in an iframe?
No — vimeo.com blocks iframe embedding. vimeo.com responds with `X-Frame-Options: SAMEORIGIN`. The page can only be framed by pages on the same origin (vimeo.com itself). From any other domain — including yours — the browser blocks it.
Live Test In Your Browser
We just tried loading vimeo.com in a real iframe below. If the site appears, embedding works from your browser. If it stays blank or shows an error, it is blocked.
What vimeo.com Sends
X-Frame-Options: SAMEORIGIN. SAMEORIGIN is common for logged-in dashboards and account pages: vimeo.com frames its own pages internally but refuses every external embedder. You will see the page load fine when you open it directly, but a "refused to connect" error inside an iframe on your site. Use an official embed method if vimeo.com offers one.
Source: curated reference · last checked 2026-06-12
The Right Way To Embed Vimeo
Embed via the player.vimeo.com/video/ URL.
<iframe src="https://player.vimeo.com/video/VIDEO_ID"
width="640" height="360"
frameborder="0"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen></iframe>The public vimeo.com page blocks framing; player.vimeo.com is the embeddable host.
Full guide: how to embed Vimeo →