mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
possible fix for animation on safari ios?
This commit is contained in:
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">
|
||||
|
||||
Reference in new issue
Block a user