set presentation field in record
This commit is contained in:
@@ -354,6 +354,8 @@ async function resolveMedia(
|
|||||||
alt: videoDraft.altText || undefined,
|
alt: videoDraft.altText || undefined,
|
||||||
captions: captions.length === 0 ? undefined : captions,
|
captions: captions.length === 0 ? undefined : captions,
|
||||||
aspectRatio,
|
aspectRatio,
|
||||||
|
presentation:
|
||||||
|
videoDraft.video.mimeType === 'image/gif' ? 'gif' : 'default',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (embedDraft.media?.type === 'gif') {
|
if (embedDraft.media?.type === 'gif') {
|
||||||
|
|||||||
Reference in New Issue
Block a user