Skip to content

Commit

Permalink
fix: disabled autoplay for marketing videos on landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
oyerohabib committed Aug 25, 2024
1 parent e4997bf commit c737b96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/layouts/homepage/HowItWorks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const HowItWorks = () => {
src={
"https://res.cloudinary.com/oyerotech-herokuapp-com/video/upload/v1724570490/Boilerplate_Template_Video_1_iixcin.mp4"
}
autoPlay={false}
controls
className="h-auto w-full rounded-lg shadow-lg"
style={{ maxHeight: "400px", maxWidth: "100%" }}
Expand All @@ -39,6 +40,7 @@ const HowItWorks = () => {
src={
"https://res.cloudinary.com/oyerotech-herokuapp-com/video/upload/v1724570524/How-does-it-work_Video_for_HNG_Boilerplate_mh6p6b.mp4"
}
autoPlay={false}
controls
className="h-auto w-full rounded-lg shadow-lg"
style={{ maxHeight: "400px", maxWidth: "100%" }}
Expand Down Expand Up @@ -100,7 +102,7 @@ const HowItWorks = () => {
</div>
</div>
</div>
</>
</div>
);
};

Expand Down

0 comments on commit c737b96

Please sign in to comment.