Embed a video
Put a video player, thumbnail or link on a website, help centre or email, and limit which sites can embed it.
Embed a video to play it on your website, in a help centre or in a tool like Notion. The embed always plays the video's latest version.
Get the embed code
- Open the video and click Share, then the Embed tab.
- Pick a style.
- Check the Preview. Switch between Desktop and Phone to see both widths.
- Set the options you want, then click Copy code and paste it into your page.
| Style | What you get |
|---|---|
| Responsive player | Fills the width of its container at 16:9 |
| Fixed size player | 640, 960 or 1280 wide, or a custom width |
| Thumbnail that opens the video | A still image that opens the video in a new tab |
| Animated GIF thumbnail | A moving preview that opens the video |
| Text link | A line of text that links to the video |
| Email-safe thumbnail | Works in Gmail and Outlook. The button says Copy for email |
Fixed sizes don't shrink on phones. Tools like Notion and WordPress usually only need the video link; for one that asks for an oEmbed address, copy the oEmbed URL at the bottom of the tab.
Player options
For the two player styles you can set Start at a moment, and turn on Autoplay (always muted, because browsers block sound on autoplay), Start muted, Loop, Captions on, Hide title and owner, Rounded corners, Speed control, an "Open in Vidler" link and Comments and reactions inside the player. Click Reset options to go back to the defaults.
For thumbnails you can set the Alt text, the Image width and whether to Include title and length. For a text link you can write your own Link text.
Limit which sites can embed it
Under Allowed sites, type a domain such as example.com and click Add site. Once the list has a site, only the listed sites can show the player. Leave it empty to allow any site. Add www.example.com and example.com separately if you use both.
Who can play an embed
- Anyone with the link and Public videos play for everyone.
- Only you and workspace videos play only for people who can watch them, after they sign in to Vidler.
- Password videos ask for the password inside the player.
- If the video asks for an email, the embedded player asks for it too.
- Thumbnail styles need a video anyone with the link can watch, without a password or email first. Otherwise use Text link.