vibran

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.

Preview of Video lightbox running live
Copy the promptAdjust colors and speed

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

  1. 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.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. 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

All 15 modals effects →