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
- Open your Dashboard
- On the video, click
- Go to the Share tab
- On a public link, click then Get Embed Code
- Choose how it plays: Autoplay (muted), Loop, Start at
- Click Copy Embed Code and paste it into your site
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.
| Setting | What it does |
|---|---|
| Fits the page / Fixed size | Fits 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 muted | Starts without sound, without autoplaying. |
| Loop | Starts 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 action | Turn it off to hide the call to action in this embed, even when the video has one. |
| Start at | Starts this far in, like 1:30. It replaces the Resume from offer. |
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:
<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:
<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>&: 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.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
| Setting | What it does |
|---|---|
| Analytics | Views, plays and watch depth are recorded like on the share page, and the "viewer watched" email and webhook go out. |
| CTA button | Shown 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). |
| Downloads | The embedded player has no download button: viewers can only watch. |
| Expiry | The embed stops working when the share link expires or is turned off. |
| Can't be embedded | One-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. |
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.
Related
An embed points at a share link. Set that link up first, then grab the embed code:
Frequently asked questions
Email [email protected] and we'll help, usually within a day. Or book a 15-min call.
