Videovimeo.com

Can you embed Vimeo in an iframe?

Yes, with the player URL from Share, Embed. Use player.vimeo.com/video/{id}, not the vimeo.com video page.

Checked Test again

Live check

Two links, two results

Result of
Video pageEmbeddable
vimeo.com/76979871
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
200 OK · 182 ms · HTTPS
Player URLEmbeddable
player.vimeo.com/video/76979871
X-Frame-Options
Not sent
CSP frame-ancestors
Not sent
Response
200 OK · 547 ms · HTTPS

Steps

How to embed Vimeo

  1. Open your Library and select the video.
  2. ClickSharethenEmbed
  3. Select a Size. Responsive is the default. Select Fixed to set a size in pixels.
  4. Optional. Turn on Autoplay, Mute or Loop in the Playback section.
  5. Click Copy embed code. Paste the code into the HTML of your page.

Check where the video can be embedded.

Under "Where can this be embedded", Nowhere blocks every embed, also on your own site. Specific domains blocks all other sites.

Embed code

Paste this into your page

HTML
<iframe
  src="https://player.vimeo.com/video/{video-id}"
  width="640"
  height="360"
  frameborder="0"
  allow="autoplay"
  allowfullscreen
  title="{video title}">
</iframe>

For an unlisted video, keep the ?h= privacy hash in the URL. Add other parameters after it with &.

URL patterns

Swap the link you have for the embed URL

  • You havevimeo.com/{video-id}Use in the iframeplayer.vimeo.com/video/{video-id}
  • You haveUnlisted video linkUse in the iframeplayer.vimeo.com/video/{video-id}?h={privacy-hash}

Player parameters such as autoplay, muted, loop and dnt go in the query string. The

Good to know

  • All privacy settings except Private allow embeds.
  • Specific domains is not available on the Free and Basic plans. You can add up to 50 domains, without wildcards.
  • Some browsers block autoplay with sound. Add muted=1 when you set autoplay=1.
  • dnt=1 stops the player from collecting session data and analytics. Some essential cookies stay active.
  • Paid plans can hide the Vimeo logo and the player controls.

Sources

Profile updated

Know before you embed.

Free, no sign-up, nothing stored. Paste a URL and get a verdict, a live preview, and the fix.