← Skyee · Skyee components · Get started

Video frame

A responsive 16:9 frame with rounded corners. Put any iframe or <video> inside.

Live preview

Replace the button with <iframe src="…" allowfullscreen> or <video controls>.

HTML

<div class="sky-aspect-16-9 sky-rounded-lg" style="overflow:hidden;background:linear-gradient(135deg,#051329,#3b6fd4);display:grid;place-items:center">
  <button class="sky-btn sky-square sky-lg" aria-label="Play video" style="border-radius:50%;width:64px;height:64px"><i class="sky-icon sky-icon-play"></i></button>
</div>
<p class="sky-text-muted sky-text-sm sky-mt-2">Replace the button with <code>&lt;iframe src="…" allowfullscreen&gt;</code> or <code>&lt;video controls&gt;</code>.</p>

Open in the Skyee app · Edit in the playground