For the complete documentation index, see llms.txt. This page is also available as Markdown.

Video

Add YouTube, Vimeo, or MP4 video to a page

The Video component displays one YouTube, Vimeo, or MP4 video. It supports autoplay rules, start time, looping, player controls, a custom thumbnail, responsive framing, and an optional lightbox.

Supported Content and File Types

  • YouTube

  • Vimeo

  • MP4

Add a YouTube or Vimeo URL to Resources by dragging it from your browser. Add a local MP4 from Finder or import a remote URL.

How to Use Video

You’ll find Video under Media in the Components list.

  1. Add the video to Resources.

  2. Drag Video onto the page.

  3. Select the video under Video → Resource.

  4. Choose autoplay, sound, controls, looping, and start time.

  5. Configure the thumbnail, aspect ratio, and optional lightbox.

  6. Preview playback in a browser.

The Video component also has a drop zone for a custom play button, text, or graphic.

Component Settings

Video

Autoplay

  • Immediately — Attempts to play when the page loads.

  • When in Viewport — Plays when the video enters the viewport.

  • Never — Waits for the visitor. This is the default.

Muted is enabled by default. Most browsers require muted audio for autoplay.

Controls shows or hides native player controls. Loop restarts the video when it finishes. These controls apply where supported by the selected video type.

Time (seconds) sets the playback start point and defaults to 0.

Video Inspector controls for resource, autoplay, sound, controls, loop, and start time
The Video group controls the source and playback behaviour.

Enable opens the video in an overlay and is off by default.

When enabled, Color defaults to Black, Opacity to 50%, and Blur to 0 pixels.

Video Lightbox controls for backdrop colour, opacity, and blur
Lightbox backdrop controls.

Thumbnail

Type can be Resource, Custom, or CMS. Resource is the default.

Mode switches between Light and Dark thumbnail sources. Custom uses a URL or path; CMS uses a field expression defaulting to {{item.image.src}}.

As with the Image component, the CMS field must be a Twig expression that outputs the image's URL, like the default {{item.image.src}} — a front matter key on its own won't work.

Custom and CMS thumbnails provide Alt text.

Overlay Color defaults to Surface 50 and Opacity to 50%.

YouTube resources automatically provide a default thumbnail. Add your own when you need consistent branding or a different crop.

Video Thumbnail controls for source, mode, image, alt text, and overlay
Thumbnail settings control the image shown before playback.

Aspect Ratio

Aspect Ratio offers Auto, Wide 16:9, Tall 4:5, or Custom. Auto is the default; Custom defaults to 7/5.

For a fixed ratio, Object Fit offers Fill, Contain, Cover, None, or Scale Down and defaults to Cover. Position sets the thumbnail focal point and defaults to Centre.

The aspect ratio controls the thumbnail frame rather than changing the source video’s dimensions.

Video thumbnail Aspect Ratio controls with object fit and position options
Aspect Ratio controls the thumbnail frame and crop.
Video thumbnail Inspector showing custom aspect-ratio settings
A custom thumbnail ratio can use any valid x/y value.

Accessibility

Provide captions or a transcript for spoken content. Avoid unexpected audio, retain usable player controls, and describe custom thumbnails when they convey information.

Tips and Best Practices

  • Mute autoplay: It is required by most browsers and avoids surprising visitors.

  • Use an intentional thumbnail: A compressed JPG usually offers good quality and performance.

  • Avoid autoplay for essential content: Give visitors direct control over important videos.

  • Image — Shares thumbnail source and aspect-ratio controls.

  • Gallery — Combines several videos and images in one lightbox.

  • Container — Supports background video.

Common Control
Description

Link

Link to a page, resource, anchor, email address, or website.

Layout

Control positioning, stacking, visibility, overflow, and isolation.

Sizing

Set width, height, and responsive size constraints.

Spacing

Add responsive margin and padding.

Typography & Text Styles

Control fonts, text spacing, decoration, colour, and semantic wrappers.

Backgrounds

Apply colour, image, gradient, SVG, video, and hover backgrounds.

Transitions

Choose what animates and set its timing curve, duration, and delay.

Effects

Apply shadows, opacity, and hover effects.

Filters

Apply blur, brightness, saturation, shadow, and backdrop effects.

Transforms

Scale, rotate, move, and skew components.

Borders

Set border style, colour, opacity, width, radius, and hover states.

Advanced

Add CSS classes and IDs, or change supported HTML tags.

Last updated

Was this helpful?