Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit d981835

Browse files
mobile fix?
1 parent 8a4bb3a commit d981835

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/components/background/ContactBackground.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from "react";
33
const ContactBackground: React.FC = () => {
44
return (
55
<div className="absolute inset-0">
6-
<video className="h-full w-full object-cover" autoPlay={true} loop muted preload="auto">
6+
<video className="h-full w-full object-cover" autoPlay={true} loop playsInline={true} muted preload="auto">
77
<source src="/contact.webm" type="video/webm" />
88
</video>
99
<div className="absolute inset-0 w-full h-full bg-gradient-to-t from-bg-dark to-transparent"/>

app/components/background/HeroBackground.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React from "react";
33
const HeroBackground: React.FC = () => {
44
return (
55
<div className="absolute inset-0">
6-
<video className="h-full w-full object-cover" autoPlay={true} loop muted preload="auto">
6+
<video className="h-full w-full object-cover" autoPlay={true} playsInline={true} loop muted preload="auto">
77
<source src="/hero.webm" type="video/webm" />
88
</video>
99
<div className="absolute inset-0 w-full h-full bg-gradient-to-t from-bg-dark to-transparent"/>

0 commit comments

Comments
 (0)