Make GIFs look like GIFs (#9809)
* set presentation field in record * refer to it as a gif in the composer * video player gif presentation style * tweak badge * only do the "manual loop" when absolutely necessary * mute gifs * reuse gif controls component for tenor gifs * update media previews in notifications * edit comment * remove outdated prop
This commit is contained in:
@@ -354,6 +354,8 @@ async function resolveMedia(
|
||||
alt: videoDraft.altText || undefined,
|
||||
captions: captions.length === 0 ? undefined : captions,
|
||||
aspectRatio,
|
||||
presentation:
|
||||
videoDraft.video.mimeType === 'image/gif' ? 'gif' : 'default',
|
||||
}
|
||||
}
|
||||
if (embedDraft.media?.type === 'gif') {
|
||||
|
||||
Reference in New Issue
Block a user