Skip to content

Commit

Permalink
change: change the video to aftermovie
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeyaw committed Oct 15, 2024
1 parent 7f0b577 commit 75d30bd
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions sections/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,16 @@ const Video = () => {
</div>
<section className="w-full flex flex-col lg:flex-row justify-center items-center mt-[-125px]">
<div className="w-full flex justify-center max-w-[275px] sm:max-w-[500px] xl:max-w-full">
<video
<iframe
width="560"
height="315"
src="https://www.youtube-nocookie.com/embed/YNVbWTAIjl8?si=FeS9M4Yrm7zWdwuR"
title="YouTube video player"
className="glow cta-border"
poster="/hero/thumbnail.png"
controls
id="vid-hero"
width={850}
height={480}
style={{ objectFit: "cover" }}
ref={(elm) => {
if (elm)
elm.onclick = () => {
elm.muted = false;
};
}}
>
<source src="/hero/conference.mp4" />
Your browser does not support videos
</video>
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowFullScreen
></iframe>
</div>
</section>
</>
Expand Down

0 comments on commit 75d30bd

Please sign in to comment.