Vimeo Embed Code Generator
<div style="position:relative;border-radius:24px;overflow:hidden;width:100%;aspect-ratio:16 / 9;"> <iframe style="position:absolute;inset:0;width:100%;height:100%;border:0;" src="https://player.vimeo.com/video/76979871?title=0&byline=0&portrait=0&color=00adef&dnt=1" title="Vimeo video" loading="lazy" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe> </div> <p style="margin:4px auto 0;text-align:center;font:11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#a3a7b0;">Created with <a href="https://elfsight.com/tools/vimeo-embed-generator/" target="_blank" rel="noopener" style="color:inherit;text-decoration:none;">Elfsight</a></p>
- Click Copy code above to copy it.
- Open the page’s HTML file or template.
- Paste the code inside
<body>, where the content should appear. - Save and upload the page, then open it in a browser to check.
Need more than one video?
Show the whole showcase as an interactive gallery that updates itself.
See Video Gallery for HTML →Embed a Vimeo showcase or your whole account
Auto-updates when you publish new videos
Carousel, grid, masonry or player with playlist
YouTube, Vimeo, TikTok, Instagram, Twitch and any video link
No coding — works on any website
This generator vs Vimeo’s own Embed button
vimeo.com/ID/HASH link and adds it as h=.title=0, byline=0, portrait=0.autoplay=1 yourself, plus muted=1 so browsers allow it.dnt=1.dnt=1 is on by default.Getting the code
Vimeo’s own Embed button
This generator
Unlisted videos
Vimeo’s own Embed button
This generator
vimeo.com/ID/HASH link and adds it as h=.Title, author and avatar
Vimeo’s own Embed button
This generator
title=0, byline=0, portrait=0.Autoplay
Vimeo’s own Embed button
autoplay=1 yourself, plus muted=1 so browsers allow it.This generator
Viewer tracking
Vimeo’s own Embed button
dnt=1.This generator
dnt=1 is on by default.How to use the Vimeo Embed Code generator
Copy the Vimeo link
Use the video page URL. Unlisted links with a hash also work.
Customize the player
Set autoplay, loop, color and hide the title bar.
Paste the code
Add it to an HTML or embed block on your site.
Vimeo player parameters
autoplayautoplay=1&muted=1mutedmuted=1looploop=1autopauseautopause=0title, byline, portraittitle=0&byline=0&portrait=0dntdnt=1playsinlineplaysinline=0colorcolor=f93262controlscontrols=0backgroundbackground=1speedspeed=1qualityquality=1080ph&.?h=abc123def4&loop=1#t#, not ?.#t=1m30sautoplay
What it does
Example
autoplay=1&muted=1muted
What it does
Example
muted=1loop
What it does
Example
loop=1autopause
What it does
Example
autopause=0title, byline, portrait
What it does
Example
title=0&byline=0&portrait=0dnt
What it does
Example
dnt=1playsinline
What it does
Example
playsinline=0color
What it does
Example
color=f93262controls
What it does
Example
controls=0background
What it does
Example
background=1speed
What it does
Example
speed=1quality
What it does
Example
quality=1080ph
What it does
&.Example
?h=abc123def4&loop=1#t
What it does
#, not ?.Example
#t=1m30sWhy Vimeo says “Video unavailable”
Embedding is set to Nowhere
In Vimeo, open the video → Share → Embed and check Where can this be embedded. Nowhere means the video plays only on vimeo.com. Switch it to Anywhere or Specific domains.
Your site isn’t in Specific domains
Add your domain to the list. A domain covers its direct subdomains (blog.example.com) but not deeper ones, and wildcards don’t work. The limit is 50 domains per video.
The video is Private
Every privacy setting except Private allows embedding. Change it to Unlisted, Public or Hide from Vimeo if it should play on your site.
Unlisted link without the hash
Unlisted links end with a hash: vimeo.com/123456789/abc123def4. Without it the player says “This video does not exist”. Paste the full link so the code gets h=abc123def4.
Viewers are asked for a password
That’s expected for password-protected videos: viewers enter the password in the player, no Vimeo account needed. Change the privacy setting if you don’t want a password.
Background mode or the player color doesn’t apply
background=1, color and controls=0 need a paid plan on the video owner’s Vimeo account.
Vimeo privacy settings and embedding
Two settings decide whether your Vimeo video plays on your site: who can watch it, and where it can be embedded.
h=)Public
Plays on your site?
Unlisted
Plays on your site?
h=)Password
Plays on your site?
Hide from Vimeo
Plays on your site?
Private
Plays on your site?
Then check Where can this be embedded in the video’s Share → Embed settings:
Anywhere — any website can show it.
Nowhere — it plays only on vimeo.com.
Specific domains — only the sites you list, up to 50. Not available on Free and Basic plans.
Sources: Vimeo Help Center, How to embed my video and “This video does not exist” message.
Embed code vs. Elfsight Video Gallery
Videos per embed
Embed code
Video Gallery
Stays up to date
Embed code
Video Gallery
Mix sources
Embed code
Video Gallery
Layouts
Embed code
Video Gallery
Responsive design
Embed code
Video Gallery
Coding
Embed code
Video Gallery
Price
Embed code
Video Gallery