Embeds

Drop any video into a webpage, Notion doc, or CMS with a single iframe.

Updated

Put a video on your website, a Notion page or any tool that accepts an iframe, and keep its analytics. Viewers don't need an account. Embed a public share link: links with a password or a form can't be embedded.

Get the embed code

Where to find it
  1. Open your Dashboard
  2. On the video, click
  3. Go to the Share tab
  4. On a public link, click then Get Embed Code
  5. Choose how it plays: Autoplay (muted), Loop, Start at
  6. Click Copy Embed Code and paste it into your site
Show me how in the app

Paste it into any webpage, Notion, Webflow, WordPress, or any platform that accepts HTML iframes.

Choose how it plays

Before you copy the code, set how the video starts. Each choice is added to the code for you, and the preview under the options shows the result. Your own views of the preview are not counted.

SettingWhat it does
Fits the page / Fixed sizeFits the page keeps the video in its own shape at any width, vertical videos included. Fixed size gives a 640 x 360 frame (360 x 640 for a vertical video).
Autoplay (muted)Starts when the page loads. Browsers only allow autoplay without sound, so it is always muted and the viewer can turn the sound on.
Start mutedStarts without sound, without autoplaying.
LoopStarts again at the end. A looping video never ends, so the call to action at the end does not appear. With Autoplay on as well it is treated as a background video: each page load counts as an open, but its plays and watch time are not counted, so it does not send you viewer emails.
Show the call to actionTurn it off to hide the call to action in this embed, even when the video has one.
Start atStarts this far in, like 1:30. It replaces the Resume from offer.
💡 Codes you copied before still work: they keep their fixed size and have no options. Turn Autoplay on in a new code to use it.

Make it fit your page

The snippet is a single <iframe> pointing at your share link's embed URL. Every share link has one: take the share URL and swap /share/ for /embed/. Here's an example for a share link with the token abc123xyz:

HTML
<iframe
  src="https://vitelnk.com/embed/abc123xyz"
  width="640"
  height="360"
  frameborder="0"
  allow="autoplay; fullscreen"
  allowfullscreen
></iframe>

To make the player fill its container responsively (16:9), wrap it and let the iframe stretch:

HTML
<div style="position: relative; padding-bottom: 56.25%; height: 0;">
  <iframe
    src="https://vitelnk.com/embed/abc123xyz"
    style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"
    frameborder="0"
    allow="autoplay; fullscreen"
    allowfullscreen
  ></iframe>
</div>
💡 The Get Embed Code window builds these for you. By hand, add options to the embed URL and join them with &: autoplay=1 (start playing), mute=1 (start muted), loop=1, t=90 (start at 90 seconds) and cta=0 (hide the call to action). Example: https://vitelnk.com/embed/abc123xyz?autoplay=1&mute=1. Browsers block autoplay with sound, so use mute=1 with it.
💡 A vertical (phone) video gets a tall frame in Get Embed Code, both fitting the page and at a fixed size. By hand, use padding-bottom: 177.78% instead of 56.25% in the snippet above so the frame is as tall as the video.

What works in an embed

SettingWhat it does
AnalyticsViews, plays and watch depth are recorded like on the share page, and the "viewer watched" email and webhook go out.
CTA buttonShown inside the embed when Show end-of-video CTA in embed or Show pause CTA pill in embed is on in the video's CTA's tab (link CTAs only).
DownloadsThe embedded player has no download button: viewers can only watch.
ExpiryThe embed stops working when the share link expires or is turned off.
Can't be embeddedOne-time links, links with a password, viewer registration or the viewer watermark, download-only pages, and links locked to named recipients show a message instead of the player. Get Embed Code says which setting is the reason, and the menu of the link shows Not available.
💡 Create a separate public link for the video to embed it, and keep the protected link for sending. Each embed placement can also have its own link to compare placements.

See where it was watched

Open the Analytics tab of the video. Once it has been watched through an embed code, a Where it was watched card shows your share links next to each site that has the video embedded, with the number of opens and the share of the total.

💡 Opens through an embed are counted from the day this card was added; earlier opens count as share links. A site that hides its address from embedded players shows as Unknown site.

Frequently asked questions

Was this page helpful?
Still stuck?

Email [email protected] and we'll help, usually within a day. Or book a 15-min call.