This repository was archived by the owner on Nov 11, 2024. It is now read-only.
File tree 2 files changed +2
-2
lines changed
app/components/background
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from "react";
3
3
const ContactBackground : React . FC = ( ) => {
4
4
return (
5
5
< 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" >
7
7
< source src = "/contact.webm" type = "video/webm" />
8
8
</ video >
9
9
< div className = "absolute inset-0 w-full h-full bg-gradient-to-t from-bg-dark to-transparent" />
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from "react";
3
3
const HeroBackground : React . FC = ( ) => {
4
4
return (
5
5
< 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" >
7
7
< source src = "/hero.webm" type = "video/webm" />
8
8
</ video >
9
9
< div className = "absolute inset-0 w-full h-full bg-gradient-to-t from-bg-dark to-transparent" />
You can’t perform that action at this time.
0 commit comments