mirror of
https://github.com/System-End/campfire.git
synced 2026-04-19 19:45:12 +00:00
feat: use actual YouTube embed for the video
This commit is contained in:
parent
8f832dfb88
commit
7caef08dae
1 changed files with 10 additions and 4 deletions
|
|
@ -165,10 +165,16 @@ function App() {
|
|||
</div>
|
||||
|
||||
<div className="relative transform rotate-[1.7deg]">
|
||||
<img
|
||||
src="/ui/video-placeholder.png"
|
||||
alt="Campfire video"
|
||||
className="w-full max-w-[442px] h-[200px] md:h-[259px] rounded-2xl shadow-[12px_12px_0px_0px_rgba(0,0,0,0.25)] object-cover mx-auto"
|
||||
<iframe
|
||||
width="442"
|
||||
height="249"
|
||||
src="https://www.youtube.com/embed/oKHU66Ar6Gk?si=tHZjgBqdXn-boVsk"
|
||||
title="YouTube video player"
|
||||
frameBorder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
referrerPolicy="strict-origin-when-cross-origin"
|
||||
allowFullScreen
|
||||
className="w-full max-w-[442px] aspect-video rounded-2xl shadow-[12px_12px_0px_0px_rgba(0,0,0,0.25)] mx-auto"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue