How to Embed a Video in Webflow?

How to Embed a Video in Webflow?

To embed a video in Webflow, paste its link into the Video element, which accepts YouTube, Vimeo, Wistia, Vidzflow and other hosts. Use the YouTube element for a start time, autoplay or privacy mode, Background Video for short silent loops you upload, and Code Embed for other players. Vidzflow’s app adds an ad-free player, with a free plan for 10 videos.

Stefan Mikic
Stefan Mikic
•
Webflow
•
Published on
1/25/2024
•
Updated on
11/16/2026

Webflow gives you five ways to put a video on a page, and the right one depends on where the video lives and what it needs to do. For most videos, I’d start with the native Video element and reach for code or an app only when it can’t do the job.

Which Webflow Video Method Fits Your Video

Four of the five methods are built into Webflow, and the fifth is a Marketplace app. In Webflow’s Add panel, Video, YouTube and Background Video sit under Media, while Code Embed sits under Custom Code.

MethodAdd panel sectionVideo sourceBest forWatch out for
Video elementMediaA URL from YouTube, Vimeo, Wistia, Vidzflow and other supported hostsMost embedded videosNo uploaded files
YouTube elementMediaA YouTube URLYouTube videos that need a start time, autoplay or privacy modeCan’t be connected to CMS fields
Background VideoMediaA file you uploadShort, silent loops behind a sectionPlays without sound
Code EmbedCustom CodeEmbed code from any hostPlayers the native elements don’t supportNeeds a paid Workspace or Site plan
Vidzflow appApps panelFiles you upload to VidzflowAd-free players in your brand colorsFree plan limited to 10 videos

Sources: Webflow’s Video, YouTube video and Code Embed articles, and Vidzflow pricing.

How to Embed a Video With the Video and YouTube Elements

The Video element is the fastest route for a video that already lives on a hosting platform, and the YouTube element adds extra settings for YouTube links.

Add the Video Element

The Video element accepts links from YouTube, Vimeo, DailyMotion, Wistia, Twitch, SproutVideo, Vidzflow and several other hosts.

  1. Add the element. Drag Video from the Media section of the Add panel onto the canvas, or press Command + E (Mac) or Control + E (Windows) to open Quick find and search for it.
  2. Open its settings. Double-click the element, or select it and open the Settings panel (D).
  3. Paste the link. Paste your video URL under Video settings, add a title if you want one, then press Enter or Return. The video’s thumbnail appears in the element.

The element takes the size of its parent. To control its size, place it inside a Box with a set width and height.

If Webflow shows an invalid URL error, make sure the video is public and allows embedding, then copy the link again. Adding ?force=true to the end of the URL forces a re-crawl, and you can remove it once the video loads.

YouTube Element Settings

Use the YouTube element instead when a YouTube video needs more control. Paste the link into its URL field, press Enter, and these settings appear:

  • Start at: a start time in mm:ss or hh:mm:ss.
  • Mute: off by default, so the video plays with sound.
  • Autoplay: off by default. Browsers can limit autoplay, and it may need Mute turned on too.
  • Show player controls: on by default.
  • Privacy mode: serves the video from youtube-nocookie.com without tracking cookies.

The YouTube element fills its parent’s width and keeps its aspect ratio. It can’t be connected to CMS fields, so it won’t work as a dynamic video in a Collection template.

Videos Inside Rich Text and Blog Posts

For a blog post or any other rich text field, open the plus (+) menu inside the rich text and choose the video option. Rich text embeds don’t include the YouTube element’s settings, so to start at 30 seconds, add ?t=30 to the end of the URL.

How to Add a Background Video in Webflow

The Background Video element is the native way to use a video file you upload yourself. You can’t upload files for the Video element, and Webflow points uploaded files to Background Video, which plays silently.

Webflow’s guide to optimizing video and rich media gives three rules for keeping background videos light:

  • Keep it short: five to 10 seconds, muted and looped.
  • Compress it: aim for single-digit megabytes as an MP4.
  • Use it sparingly: one background video per page.

Leave the Include play/pause button setting on. It’s enabled by default for background videos added after June 2022, and Webflow’s play/pause button guide explains that it gives visitors the control WCAG asks for on content that moves automatically for more than 5 seconds.

How to Embed a Video With the Code Embed Element

Use Code Embed when your host gives you embed code and the Video element doesn’t support it. Code Embed needs a Core, Growth, Agency or Freelancer Workspace, or a site with an active Site plan.

  1. Copy the embed code from your video host.
  2. Add the element. Open the Add panel and drag Code Embed from the Custom Code section onto the canvas.
  3. Paste and save. Paste the code into the editor, then save and close it.
  4. Preview and publish. Code wrapped in iframe tags can show a preview on the canvas, though some embeds only appear on the live site. Anything with a script tag shows a placeholder until you preview or publish.

Code Embed is a code editor rather than a video player, so autoplay, mute and size come from the embed code your host generates. Each embed holds up to 50,000 characters, and you shouldn’t add html, head or body tags to it.

Webflow’s support team can’t troubleshoot custom code, so if an embed misbehaves, you can ask in the Webflow Community or work with a Webflow team like ours.

How to Embed Videos With the Vidzflow App

Vidzflow is a video host built for Webflow, and it’s the route I recommend when you want an ad-free player in your own brand colors. Vidzflow says there are no ads anywhere in its player.

Here’s how the app works, based on Vidzflow’s Webflow app page:

  1. Install and authorize. Install Vidzflow from the Webflow Marketplace and authorize it for your site. It then appears in the Designer’s Apps panel.
  2. Upload your video to Vidzflow.
  3. Place it. Drag the Vidzflow element exactly where the video should appear on the page.
  4. Customize the player. Select your video, then adjust the player settings, colors and thumbnail.
  5. Publish your site.

The free plan covers 10 videos of up to 100 MB and 5 minutes each at 720p, with Vidzflow branding.

Paid plans start at $12 a month for 25 videos of up to 1,000 MB, without the branding.

For how Vidzflow compares with other tools, see our list of the best Webflow plugins.

Best Practices for Video on Webflow Sites

Webflow calls video the heaviest content you’ll add to a page, so these habits protect both load times and your plan’s bandwidth.

  • Host long videos on a platform. Put them on YouTube or Vimeo and add them with the Video element, so their servers carry the load instead of your site’s Webflow bandwidth.
  • Compress anything you self-host. The site usage dashboard flags self-hosted videos over 100 MB.
  • Replace large GIFs. Webflow suggests swapping any GIF over 1 MB for a video.
  • Limit players per page. Each embed loads a player and extra scripts, so avoid stacking several on one page.
  • Load players on click. Show a thumbnail with a play button and load the real player only when a visitor clicks it.
  • Add captions. Captions let visitors follow a video with the sound off, and a tool like PlayPlay can add subtitles to video for you.
  • Avoid autoplay with sound. If a video autoplays, start it muted.

Frequently Asked Questions

Can I upload a video file directly to Webflow?

Yes, but only for the Background Video element, which plays your uploaded file silently. The Video element doesn’t take uploaded files and needs a link from a host such as YouTube, Vimeo or Vidzflow. For a video with sound that you want to host outside YouTube, upload it to Vidzflow, whose free plan takes files of up to 100 MB and 5 minutes.

Does the Code Embed element need a paid Webflow plan?

Yes. Code Embed works on a Core, Growth, Agency or Freelancer Workspace, or on a site with an active Site plan. Each Code Embed element holds up to 50,000 characters of code, and code wrapped in <iframe> tags can show a preview on the canvas.

What video file formats are supported when embedding videos into Webflow using Vidzflow?

Vidzflow accepts common video formats, including MP4, MOV, AVI, MKV, MPG and WebM. The size limit depends on your plan: the free plan takes videos of up to 100 MB and 5 minutes, and paid plans take up to 1,000 MB per video.

How does embedding videos with Vidzflow compare with using standard YouTube or Vimeo embeds?

Vidzflow gives you an ad-free player in your own colors, while a YouTube or Vimeo embed uses that platform’s player. Vidzflow says it shows no ads anywhere, and its paid plans, from $12 a month, remove the Vidzflow branding. For YouTube videos, Webflow’s YouTube element adds a start time, autoplay, player controls and a privacy mode that serves the video from youtube-nocookie.com.

Are there SEO benefits to embedding self-hosted videos in Webflow?

You don’t need to self-host a video for Google to index it. Google finds videos in <video>, <embed>, <iframe> and <object> elements, so a YouTube or Vidzflow embed can be indexed too. What Google asks for is a watch page for the video, a page title and description unique to that video, and structured data that describes it.

What are the best practices for video thumbnail optimization in Webflow?

Use a thumbnail of at least 60x30 pixels, served from a stable URL, and give every video its own. Google accepts BMP, GIF, JPEG, PNG, WebP, SVG and AVIF thumbnails and prefers larger images. If you host with Vidzflow, you can set a custom thumbnail for each video when you customize the player.

How do I handle video autoplay settings across different browsers in Webflow?

Turn on Mute whenever you turn on Autoplay, because browsers often block autoplay with sound. Chrome always allows muted autoplay but plays sound automatically only in some cases, such as after the visitor has clicked or tapped on the site. In Webflow’s YouTube element, Autoplay may need Mute turned on as well, and the Background Video element always plays without sound.

Stefan Mikic

COO at Flow Ninja, writing on site performance, Core Web Vitals, and website migration.

More about 
Stefan Mikic

Get for free
Foresight
Used on 5000+ websites

See your website the way a senior strategist does

Foresight scans your site across 10 strategy dimensions. You get a scored breakdown of every gap costing you leads.

Get free website audit
Clear roadmap for each category
69
Overall score
26
 issues found
Positioning
53
Differentiation
61
Target Audience
86
Website Structure
72
Social Proof
37
Conversion & Growth
60

Continue reading

All posts
Two men working on laptops at a shared desk with plants and computer monitors near a window.
Two people sitting and discussing indoors with a laptop on a glass table.
Two men working on laptops at a desk in a bright office with plants and large windows.
Close-up of a laptop keyboard and trackpad illuminated with purple and blue lighting.
Two people working on laptops having a discussion in a modern office setting.

 Ready to escape your CMS nightmare?

100+ successful migrations. 0 ranking disasters at launch. One embedded team that's done this before.

Free strategy call

Get your free resource

Enjoy your free resource!
❤️