Docs

Video

A YouTube, Vimeo or self-hosted video that loads only when played.

On this page

The Video widget plays a video from YouTube, Vimeo, your media library or a file on another site. YouTube and Vimeo videos use a click-to-load preview: visitors see a poster image and a play button, and the video player (with its cookies) loads only when they press play. Privacy mode uses youtube-nocookie.com and Vimeo's “do not track” option.

A video preview with a room illustration as the poster, rounded corners and a round dark play button in the middle
A YouTube video with its own poster image and play button. The player loads on click.

Add a video

  1. Insert it

    Open Insert in the left panel, find Video under Media (or type video in Search widgets) and click it or drag it onto the canvas.

  2. Choose the source

    Pick a Source and paste the YouTube URL or Vimeo URL, choose a Video file from the media library, or enter a File URL.

  3. Name it

    Type an Accessible title, such as “A walk through the Cedar House project”. It names the play button and the player for screen readers.

  4. Set a poster

    In Content → Playback, choose a Poster image. YouTube videos use their own thumbnail when you leave it empty.

Load the player on click (privacy)

With Load player on click on (the default for YouTube and Vimeo), the page shows your poster and play button, drawn by your site. The YouTube or Vimeo player, and its cookies, load only when the visitor presses play. This keeps the page fast and helps with privacy laws such as the GDPR. Privacy mode additionally uses youtube-nocookie.com for YouTube and the “do not track” option for Vimeo.

Without a poster, a YouTube preview uses the video's thumbnail from YouTube's image server. Choose your own Poster image if no request should go to YouTube before the click.

Settings

Settings marked Per device can differ on desktop, tablet and mobile (see Responsive editing). Video addresses, the title and the poster support dynamic tags (see Dynamic tags).

Content tab

Video
SettingWhat it does
SourceWhere the video comes from: YouTube, Vimeo, your media library or a video file on another site. Options: YouTube, Vimeo, Media library, External file URL. Default: YouTube.
YouTube URLThe address of the YouTube video. Shown when Source is YouTube. Supports dynamic tags.
Vimeo URLThe address of the Vimeo video. Shown when Source is Vimeo. Supports dynamic tags.
Video fileA video file from your media library. Shown when Source is Media library. Supports dynamic tags.
File URLThe address of an MP4 or WebM file. Shown when Source is External file URL. Supports dynamic tags.
Accessible titleNames the play button and the player for screen readers, for example “Product tour”. Supports dynamic tags.
Aspect ratioShape of the video frame. Default: 16:9. Per device.
Playback
SettingWhat it does
Start at (seconds)Starts the video at this second.
End at (seconds)Stops the video at this second. Shown when Source is not Vimeo.
AutoplayStarts the video, muted, when it scrolls into view. Visitors who prefer reduced motion do not get autoplay.
MuteStarts the video without sound.
LoopPlays the video again when it ends.
Player controlsShows the player’s play, volume and fullscreen controls. On by default.
Privacy modeUses youtube-nocookie.com for YouTube and “do not track” for Vimeo. On by default. Shown when Source is YouTube or Vimeo.
Load player on clickShows a poster and a play button; the YouTube or Vimeo player (and its cookies) load only when the visitor clicks play. On by default. Shown when Source is YouTube or Vimeo.
Poster imageThe image shown before the video plays. YouTube videos use their own thumbnail when it is empty. Supports dynamic tags.
Play iconIcon of the play button.

Design tab

Video
SettingWhat it does
Border radiusRounds the corners of the video. Per device.
BorderBorder of the video.
ShadowShadow of the video.
Poster overlayA color over the poster image.
Poster filtersBlur, brightness, contrast, saturation and hue of the poster.
Play button
SettingWhat it does
SizeSize of the play button. Per device.
Border radiusRounds the play button; 50% makes it a circle. Per device.
Normal › Icon colorColor of the play icon.
Normal › BackgroundBackground color of the play button.
Hover › Icon colorColor of the play icon on hover.
Hover › BackgroundBackground color of the play button on hover.
ShadowShadow of the play button.
Shared Design sections

Every element also has these sections at the end of the Design tab.

SectionWhat it does
Spacing & positionMargin, padding, width, alignment in its container, order, position (relative, absolute, fixed), offsets, z-index and global classes. See Spacing, size & position.
Background & borderBackground, border, border radius, box shadow, overflow and opacity of the whole element. See Colors & backgrounds and Borders & shadows.
MaskCrops the element to a shape (circle, arch, blob, star…) or your own SVG or PNG. See Shape dividers & masks.

Behaviour tab

Behaviour sections

The Behaviour tab is the same for every element.

SectionWhat it does
Anchor & classesAn Anchor ID for #links and your own CSS classes.
AnimationsEntrance, scroll, hover and loop animations from presets or your own timeline. See Motion & effects.
Motion & effectsA simple entrance animation, transforms (also on hover), CSS and backdrop filters, and sticky positioning.
Scroll & mouse effectsMovement, rotation, scale, fade and blur while the page scrolls, and pointer effects (follow the pointer, 3D tilt).
VisibilityHide the element on desktop, tablet or mobile, or in dark or light mode. See Visibility.
ConditionsShow the element only when rules match, such as logged-in visitors, a date range or a URL parameter. See Display conditions.
InteractionsShow, hide or change other elements when this one is clicked, hovered or scrolled into view. See Interactions.
AttributesCustom HTML attributes for this element. See Anchor, classes & attributes.

Tips

  • Autoplay starts muted. Autoplay starts the video without sound when it scrolls into view, and never for visitors who prefer reduced motion.
  • Short clips. For a short background loop, use a self-hosted MP4 with Autoplay, Mute and Loop on and Player controls off, or a container video background.
  • Captions. Add captions to your video on YouTube or Vimeo; visitors can turn them on in the embedded player.
  • Aspect ratio. Set Aspect ratio to 9:16 for vertical videos such as reels and shorts.