From 983dd6623fa3ab1260a3f14617c55cdff9b33b23 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 11 Jun 2024 18:17:19 +0800 Subject: [PATCH] Try autoPlay instead of autoplay Fixing Mobile Safari bug --- src/components/media.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/media.jsx b/src/components/media.jsx index 3dc1f11f..370b1c5f 100644 --- a/src/components/media.jsx +++ b/src/components/media.jsx @@ -517,7 +517,7 @@ function Media({ height={height} data-orientation={orientation} preload="auto" - autoplay + autoPlay playsinline loop={loopable} controls @@ -636,7 +636,7 @@ function Media({ style={!showOriginal && mediaStyles} > {showOriginal ? ( -