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
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
- Open your Library and select the video.
- ClickSharethenEmbed
- Select a Size. Responsive is the default. Select Fixed to set a size in pixels.
- Optional. Turn on Autoplay, Mute or Loop in the Playback section.
- 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
- Vimeo Help Center · How to embed my videohelp.vimeo.com/hc/en-us/articles/12426259908881-How-to-embed-my-video
- Vimeo Help Center · About Player Parametershelp.vimeo.com/hc/en-us/articles/12426260232977-About-Player-Parameters
- Vimeo Help Center · Embedded player displays "This video does not exist" messagehelp.vimeo.com/hc/en-us/articles/12426470858001-Embedded-player-displays-This-video-does-not-exist-message
- Vimeo Help Center · Troubleshooting autoplay restrictionshelp.vimeo.com/hc/en-us/articles/29677068222737-Troubleshooting-Autoplay-restrictions
- Vimeo Help Center · Embedding features by plan typehelp.vimeo.com/hc/en-us/articles/12426275096337-Understanding-video-embedding-features
- iframecheck live check · both links
Profile updated