MediaAttachmentGrid: fix autoplay on iOS
This commit is contained in:
parent
fea645949f
commit
ae93725bf1
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