Video lightbox
Also called: cinema modal
The video cover opens a cinema screen: the 16:9 frame grows from the cover with a soft glow behind it while the rest of the page dims. The video starts on its own and stops when the window closes.

When to use it
For a brand video, a testimonial, a space tour or a product demo, without sending people to YouTube. The light cover loads with the page; the video only loads on open (in the iframe, through data-src), which helps performance. The demo shows an animated scene in place of the video; on your site, use a <video> or an <iframe data-src="...">. Pick a glow color that matches the cover.
How to add it to your site
- Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- Done: the AI adds the effect to your project, just like you saw it here.
Use it in HTML
The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:
<button data-efeito="modal-video" data-abrir="#filme" data-brilho="#ff9a3c">
<img src="capa.jpg" alt="Bastidores da fornada">
</button>
<div id="filme" hidden aria-label="Bastidores da fornada">
<video src="filme.mp4" controls playsinline></video>
</div>
More modals effects
- Cookie consent bannerpreferences card
- Toast notificationAviso no canto da tela
- Stacked toast notificationssonner-style
- Hold to delete confirmation dialogConfirmar apagando segurando
- Depth modalglass dialog with background scale
- Bottom sheetdraggable drawer
- Image lightbox with zoom from thumbnailGaleria que amplia a partir da miniatura
- Spring drawerphysics side sheet