Every video,
one lightbox.

Documentation · Version 1.0

How to connect a CMS collection, uploaded files, YouTube and Vimeo, the card and the lightbox, your own button, a link to each video, captions, every setting, and fixes for the usual problems.

01

Start here.

1.

Add it to your project. Open the Marketplace page, or the link in your order, and drop Video Lightbox on a page. It arrives with a sample film, so there is something to press.

2.

Give it a video. Upload a file in Video, or paste a YouTube or Vimeo link in Or link. Add a Poster, a Title and a Subtitle.

3.

Put it in a Collection List. Place the card inside the item of a Collection List and connect its fields to your CMS. Every item becomes a card, and all of them open in the same lightbox.

4.

Open Preview and press one. Go through the videos with the arrows on screen, the arrow keys or a swipe.

You get two components: Video Lightbox, the card, and Video Trigger, which makes any layer of yours open a video.

02

How it works.

Video Lightbox is a card: a poster with a play button. A press opens its video large, over the page, with the rest of the page dimmed behind it.

•

One lightbox for the whole collection. Every card with the same Kit name shares it. From any video, visitors go to the next or the previous one without closing.

•

Nothing loads until a press. The page only loads your posters. No player, no video file and nothing from YouTube or Vimeo is fetched before a visitor opens a video.

•

The Collection List is still yours. Columns, gaps, filters, sorting, limit and pagination are Framer’s own. The lightbox follows the cards that are on the page, in their order.

•

A new item in the CMS shows up on its own.

On the canvas the cards don’t open: use Preview or the published site.

Live component with its sample film. Press it; Escape closes it.

03

Connect your collection, step by step.

1.

Use any collection with a video. A File field for uploaded videos, a Link field for YouTube or Vimeo, or both. An Image field for the poster and a text field for the title are the usual companions.

2.

Add a Collection List for it and lay out its items as a grid, a row or a list.

3.

Put Video Lightbox inside the item and set its width to Fill.

4.

Connect its fields. Video to your File field, Or link to your Link field, Poster to the image, Title and Subtitle to your texts. Label takes a short text such as the length, “1:12”.

5.

Is the link in a text field? Framer connects a Link field to Or link and a text field to Or URL. If your collection keeps the YouTube or Vimeo address as plain text, connect it to Or URL.

6.

Preview. Each item is a card. Press one and browse.

Good to know:

•

When an item has both a file and a link, the file is used.

•

An item without a video shows its poster and text, with no play button and nothing to press.

•

Cards with the same Kit name share a lightbox, even from two Collection Lists. To keep two groups apart on one page, give each its own Kit name.

•

Browse off makes a card open only its own video.

04

Files, YouTube and Vimeo.

Uploaded files

Mp4, webm, mov or m4v. They play in the browser’s own player, with its controls, full screen and picture in picture. The frame takes the shape of the video: wide, square or upright.

YouTube

Paste any link to the video: the watch page, a short youtu.be link, a Short or a live stream. A start time in the link is kept. It plays on youtube-nocookie.com, YouTube’s privacy mode. Shorts open upright.

Vimeo

Paste the link to the video, also the private link of an unlisted one. It plays with Vimeo’s do-not-track option.

A link to a file

(an address ending in .mp4, .webm or .mov) plays like an uploaded file.

Any other link

Is not played. The card becomes a plain link that opens it in a new tab.

Posters:

•

A YouTube video without a Poster shows YouTube’s own thumbnail. Turn YouTube image off to load nothing from YouTube before a press.

•

A Vimeo video needs a Poster: Vimeo has no public address for thumbnails.

•

While a video loads in the lightbox, its poster fills the frame.

Set Video ratio to a fixed shape if your YouTube or Vimeo videos are not 16:9. On Auto, files keep their own shape and YouTube and Vimeo play in 16:9.

05

The card.

Ratio

— 16:9, 4:3, 1:1, 4:5, 9:16 or 21:9. With a fixed height in Framer, the picture fills the height instead.

Radius

— also used for the video in the lightbox.

Play button

— Solid, Blur, Outline or None, in the centre or in a bottom corner, at any size.

Text

— Below the picture, Over the image, or Hidden. Each line has its own font and colour.

Label

— a small tag on the picture, for the length or a word like “Reel”.

Hover zoom

— the poster grows a little under the pointer.

Hover preview

— an uploaded video plays without sound under the pointer. YouTube and Vimeo have no preview, because nothing is loaded from them before a press.

Hide play

— while the preview plays, the play button fades out so nothing covers the film. It comes back when the pointer leaves. Turn it off to keep the button in place.

06

The lightbox.

Browse

— previous and next through every card with the same Kit name. After the last video comes the first.

Keys

— left and right arrows change video, the space bar plays and pauses an uploaded video, Escape closes.

Phones

— swipe left or right to change video and down to close. The arrows sit under the video.

Caption and Counter

— the title, the subtitle and “03 / 12” under the video.

Autoplay, Start muted, Loop, Controls

— for all three kinds of video.

Video ratio and Max width

— the shape and the largest size of the frame. It always fits the window.

Backdrop, Blur, Lightbox text, Buttons, Lightbox font

— its colours and its type.

Copy link

— a button that copies a link to the video on show.

A press outside the video, the close button or Escape closes it, and the focus returns to the card.

Good to know:

•

With Autoplay off, or when the browser doesn’t allow a video to start by itself, the poster stays with a play button on it.

•

Inside the YouTube or Vimeo player the keyboard belongs to that player. Press Tab or click outside the video and the arrow keys and Escape are the lightbox’s again.

•

iPhones don’t start YouTube or Vimeo with sound on their own: the visitor taps the player once more. Start muted lets them start by themselves.

07

Your own button.

Two ways to open a video from a layer of your own:

Shows: Your layer

Set Shows to Your layer on a Video Lightbox and connect a button, a line of text or any layer. A press on it opens the video set on that card. Use it for a “Watch the reel” button in a hero.

Video Trigger

Connect any layer and choose what it opens from the cards with its Kit name: the first video, the one at a position, or the one with a title. Use it for a “Play all” button above a grid.

If the layer is already a link or a button, it opens the video instead of doing what it did.

09

Captions

Upload a WebVTT file (.vtt) in Captions, for uploaded videos. Visitors turn them on from the player’s own menu. They start on when Start muted is on. Language takes the code of their language, like en, es or fr.

YouTube and Vimeo use the captions set in their own players.

10

Recipes

Editorial grid

Ratio 16:9 · Radius 0 · Play button Solid, Centre · Text Below

Reels

Ratio 9:16 · Text Over the image · Play button Blur, Bottom left · Label for the length

Quiet index

Play button None · Text Below · Hover preview on

Soft cards

Radius 16 · Play button Blur · Backdrop at 80% · Blur 24

Light lightbox

Backdrop a light colour · Lightbox text dark · Buttons a dark colour at 8%

Ambient loop

Autoplay on · Start muted on · Loop on · Controls off

11

Settings reference.

In the order they appear in the property panel. Settings that don’t apply are hidden.

Video

•

Video — an uploaded file or a CMS File field.

•

Or link — YouTube, Vimeo or the address of a video file, typed or from a CMS Link field. Used when Video is empty.

•

Or URL — the same link as text, for a CMS text field that holds the address.

•

Poster, Title, Subtitle.

•

Label — a small tag on the picture.

•

Captions and Language — a WebVTT file for an uploaded video.

•

Kit name — cards with the same name share one lightbox.

Card

•

Shows — Thumbnail or Your layer. Layer — the layer that opens the video.

•

Ratio, Radius, Behind (the colour behind the poster).

•

Hover zoom, Hover preview, Hide play (the play button fades out while the preview plays), YouTube image.

Play button

•

Play button — Solid, Blur, Outline or None.

•

Place, Size, Button (colour), Icon (colour).

Text

•

Text — Below, Over the image or Hidden.

•

Gap, Title font, Title, Subtitle font, Subtitle, Text colour, Line gap.

Lightbox

•

Browse, Arrows, Counter, Caption, Copy link.

•

Autoplay, Start muted, Loop, Controls.

•

Video ratio, Max width.

•

Backdrop, Blur, Lightbox text, Buttons, Lightbox font.

•

Focus ring.

Labels

•

Play label, Close label, Previous label, Next label, Video label, Of label, Copy label, Copied label, Captions label.

•

Screen readers hear them: “Play video: Red Hour”, “Video 3 of 12”. All of them are translated by Framer Localization.

Video Trigger

•

Layer, Kit name, Opens (the first video, by position, by title), Position, Title.

12

Performance and privacy.

•

Before a press the page loads only your posters, at the size each card needs.

•

A video file starts loading when its lightbox opens, or when the pointer rests on its card with Hover preview on.

•

YouTube and Vimeo players load only when a visitor opens that video: YouTube from youtube-nocookie.com, Vimeo with do-not-track. Tell your visitors in your cookie or privacy notice if you use them.

•

Without a Poster, a YouTube card loads that video’s thumbnail from i.ytimg.com. Turn YouTube image off, or set a Poster, to avoid it.

•

The component stores nothing, sets no cookies and has no analytics.

13

Accessibility

•

Each card is a button named after what it does and its video: “Play video: Red Hour, Milan, 1:12”.

•

The lightbox is a native dialog: the keyboard stays inside it, Escape closes it and the focus returns to the card.

•

Close, previous, next and copy link are real buttons, at least 44 px, with labels you can translate.

•

Screen readers hear the place in the collection after every move: “Video 3 of 12: Red Hour”.

•

Uploaded videos use the browser’s own controls, and can carry captions.

•

Visitors who prefer reduced motion get no hover preview, no zoom and no fades.

14

Troubleshooting

The card shows “Showreel” and a sample film

No video is set yet. Upload one, paste a link, or connect the fields to your CMS.

A card has no play button

That item has no video, or its link is not a YouTube, Vimeo or file link.

My CMS field isn’t offered when I connect Or link

It is a text field. Connect it to Or URL, which takes text.

The card opens a new tab

The link is not one the lightbox plays, so the card links to it instead.

A Vimeo card is dark

Vimeo videos need a Poster.

YouTube says the video is unavailable

Its owner doesn’t allow it to play on other sites, or it is private. Unlisted videos work.

Previous and next don’t show

Only one card uses that Kit name, Browse is off, or Arrows is off. The arrow keys work without the arrows.

Two groups of videos mix in one lightbox

They share a Kit name. Give each group its own.

The video starts without sound, or doesn’t start

Browsers decide when a video may start by itself. A press on the card always counts; a video opened from a link waits for the visitor.

Captions don’t show

They work for uploaded videos, with both files uploaded to Framer. Check the file is WebVTT.

Nothing opens on the canvas

That’s expected: use Preview.

15

Updates

New versions are free and listed here. To update, insert the component again from the Marketplace page or from the link in your order, which always points to the latest version, and copy your settings across.

•

1.0 · November 2026 — First release: cards for uploaded videos, YouTube and Vimeo, one lightbox for a whole CMS collection with previous and next, keys and swipe, hover preview, captions, a link to each video, your own layer as the button, Video Trigger, and full documentation.

16

Support and licence.

•

Questions or a bug? Write to info@miguelrecio.es. A person replies within two business days (Mon–Fri, CET).

•

One licence covers one website or project, the same Single-Use licence as Framer’s Marketplace. For several sites, buy one licence per site. Reselling or redistributing the component isn’t allowed.

•

The sample film is a placeholder. Replace it with your own before you publish.

Questions? Get in touch.

Email info@miguelrecio.es with your question and a link to your project.

Create a free website with Framer, the website builder loved by startups, designers and agencies.