mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +03:00
Try autoPlay instead of autoplay
Fixing Mobile Safari bug
This commit is contained in:
parent
a79d0613ec
commit
983dd6623f
1 changed files with 2 additions and 2 deletions
|
@ -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 ? (
|
||||
<audio src={remoteUrl || url} preload="none" controls autoplay />
|
||||
<audio src={remoteUrl || url} preload="none" controls autoPlay />
|
||||
) : previewUrl ? (
|
||||
<img
|
||||
src={previewUrl}
|
||||
|
|
Loading…
Reference in a new issue