MediaAttachmentGrid: fix autoplay on iOS
This commit is contained in:
parent
108e8fc87c
commit
63603e049d
1 changed files with 3 additions and 1 deletions
|
@ -109,8 +109,10 @@ const MediaAttachmentGrid: Component<{
|
|||
src={item.url || undefined}
|
||||
style={style()}
|
||||
onLoadedMetadata={[setLoaded, true]}
|
||||
autoplay={true}
|
||||
autoplay={false}
|
||||
controls
|
||||
playsinline /* or safari on iOS will play in full-screen */
|
||||
loop
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue