Vimeo Embed Code Generator

Paste a Vimeo link and get a free, responsive embed code. Control autoplay, loop, player color and what the player shows. No sign-up needed.
The video’s page link, e.g. https://vimeo.com/76979871 (unlisted links keep their hash part)
Want the whole showcase as a gallery that updates itself?
Corner radius

Embed the video

<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>

  1. Click Copy code above to copy it.
  2. Open the page’s HTML file or template.
  3. Paste the code inside <body>, where the content should appear.
  4. 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 →

Before you go

Need more than one video? Show the whole showcase as an interactive gallery that updates itself.

Embed a Vimeo showcase →
Or share this free tool:
Elfsight Video Gallery

Embed a Vimeo showcase or your whole account

Video Gallery shows a Vimeo showcase or all your uploads in a gallery, carousel or player with playlist.
  • 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’s Share → Embed copies an iframe for one video. Here is what you get by building it here.
Vimeo’s own Embed button
This generator
Getting the code
Open the video on vimeo.com → Share → Embed.
Paste the video link.
Unlisted videos
The copied code already includes the privacy hash.
Reads the hash from a vimeo.com/ID/HASH link and adds it as h=.
Title, author and avatar
Follow the video’s saved embed settings.
Hide them in the code with title=0, byline=0, portrait=0.
Autoplay
Add autoplay=1 yourself, plus muted=1 so browsers allow it.
One switch adds both.
Viewer tracking
On unless you add dnt=1.
dnt=1 is on by default.

Getting the code

Vimeo’s own Embed button

Open the video on vimeo.com → Share → Embed.

This generator

Paste the video link.

Unlisted videos

Vimeo’s own Embed button

The copied code already includes the privacy hash.

This generator

Reads the hash from a vimeo.com/ID/HASH link and adds it as h=.

Title, author and avatar

Vimeo’s own Embed button

Follow the video’s saved embed settings.

This generator

Hide them in the code with title=0, byline=0, portrait=0.

Autoplay

Vimeo’s own Embed button

Add autoplay=1 yourself, plus muted=1 so browsers allow it.

This generator

One switch adds both.

Viewer tracking

Vimeo’s own Embed button

On unless you add dnt=1.

This generator

dnt=1 is on by default.

How to use the Vimeo Embed Code generator

  1. Copy the Vimeo link

    Use the video page URL. Unlisted links with a hash also work.

  2. Customize the player

    Set autoplay, loop, color and hide the title bar.

  3. Paste the code

    Add it to an HTML or embed block on your site.

Vimeo player parameters

Parameter
What it does
Example
autoplay
Starts playback on load. Browsers usually allow it only when muted.
autoplay=1&muted=1
muted
Starts with the sound off; viewers can unmute.
muted=1
loop
Repeats the video.
loop=1
autopause
Pauses other Vimeo players on the page when this one starts. On by default.
autopause=0
title, byline, portrait
Show or hide the video title, author name and author picture.
title=0&byline=0&portrait=0
dnt
Stops the player from collecting session data and analytics.
dnt=1
playsinline
Plays inline on phones instead of going fullscreen. On by default.
playsinline=0
color
Player accent color (hex, no #). Paid plans.
color=f93262
controls
Hides all player controls. Paid plans.
controls=0
background
Background video: no controls, autoplay, loop, muted. Paid plans.
background=1
speed
Shows the playback speed menu. Paid plans.
speed=1
quality
Default playback quality, 240p to 4k. Paid plans.
quality=1080p
h
Privacy hash of an unlisted video. Put other parameters after it with &.
?h=abc123def4&loop=1
#t
Start time. Goes after #, not ?.
#t=1m30s

autoplay

What it does

Starts playback on load. Browsers usually allow it only when muted.

Example

autoplay=1&muted=1

muted

What it does

Starts with the sound off; viewers can unmute.

Example

muted=1

loop

What it does

Repeats the video.

Example

loop=1

autopause

What it does

Pauses other Vimeo players on the page when this one starts. On by default.

Example

autopause=0

title, byline, portrait

What it does

Show or hide the video title, author name and author picture.

Example

title=0&byline=0&portrait=0

dnt

What it does

Stops the player from collecting session data and analytics.

Example

dnt=1

playsinline

What it does

Plays inline on phones instead of going fullscreen. On by default.

Example

playsinline=0

color

What it does

Player accent color (hex, no #). Paid plans.

Example

color=f93262

controls

What it does

Hides all player controls. Paid plans.

Example

controls=0

background

What it does

Background video: no controls, autoplay, loop, muted. Paid plans.

Example

background=1

speed

What it does

Shows the playback speed menu. Paid plans.

Example

speed=1

quality

What it does

Default playback quality, 240p to 4k. Paid plans.

Example

quality=1080p

h

What it does

Privacy hash of an unlisted video. Put other parameters after it with &.

Example

?h=abc123def4&loop=1

#t

What it does

Start time. Goes after #, not ?.

Example

#t=1m30s

Source: Vimeo Help: Player parameters overview

Why 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.

Privacy setting
Plays on your site?
Public
Yes
Unlisted
Yes, when the code includes the privacy hash (h=)
Password
Yes, after the viewer types the password in the player
Hide from Vimeo
Yes — it’s meant for embedding only
Private
No

Public

Plays on your site?

Yes

Unlisted

Plays on your site?

Yes, when the code includes the privacy hash (h=)

Password

Plays on your site?

Yes, after the viewer types the password in the player

Hide from Vimeo

Plays on your site?

Yes — it’s meant for embedding only

Private

Plays on your site?

No

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

Embed code
Video Gallery
Videos per embed
One video (or one playlist)
Unlimited videos in one widget
Stays up to date
Edit the code for every new video
New Vimeo videos appear automatically
Mix sources
One platform per snippet
YouTube, Vimeo, TikTok, Instagram, Twitch and any video link
Layouts
Single player
Player with Gallery, Carousel, Grid, Masonry, Playlist
Responsive design
Needs a CSS wrapper
Built in
Coding
Copy and paste code for each video
No code — edit visually in the editor
Price
Free
Free plan, no credit card needed

Videos per embed

Embed code

One video (or one playlist)

Video Gallery

Unlimited videos in one widget

Stays up to date

Embed code

Edit the code for every new video

Video Gallery

New Vimeo videos appear automatically

Mix sources

Embed code

One platform per snippet

Video Gallery

YouTube, Vimeo, TikTok, Instagram, Twitch and any video link

Layouts

Embed code

Single player

Video Gallery

Player with Gallery, Carousel, Grid, Masonry, Playlist

Responsive design

Embed code

Needs a CSS wrapper

Video Gallery

Built in

Coding

Embed code

Copy and paste code for each video

Video Gallery

No code — edit visually in the editor

Price

Embed code

Free

Video Gallery

Free plan, no credit card needed

Frequently asked questions

Official documentation

More free tools

Related guides

How to embed a video on a website

Upload the video to YouTube or Vimeo and paste its embed code, use the HTML5 video tag for files you host yourself, or use a video gallery widget when you need several videos. Here’s how each method works and when to use it.How to embed a video on a website

Best video hosting for website

Use YouTube for free reach, Vimeo for ad-free branded playback, and a video CDN for full control. Self-host only short clips.Best video hosting for website