possible fix for animation on safari ios?

This commit is contained in:
Brandon Thomas committed 2023-03-05 04:20:59 -05:00
1 parent a31684e8de
commit 53d13eb879
1 file changed
+4 -1
@@ -111,7 +111,10 @@ function IndexPage() {
data-scroll-repeat="true"
data-scroll-call="home"
>
<video className="bg-video" autoPlay loop muted playsInline>
<video className="bg-video" autoPlay loop muted playsInline ref={ref => {
ref!.muted = true;
ref!.play();
}}>
<source src="/hero/brandon-hyperjail.webm" type="video/webm"></source>
</video>
<div className="bg-overlay">