AttachmentVideoOptions
Interface: AttachmentVideoOptions
Defined in: components/AttachmentVideo.tsx:38
Опции для функции createAttachmentVideo.
Properties
cacheTtlMs?
optionalcacheTtlMs:number
Defined in: components/AttachmentVideo.tsx:62
TTL кеша в миллисекундах.
По умолчанию 5 минут.
fetchAttachment
fetchAttachment:
FetchAttachmentFn
Defined in: components/AttachmentVideo.tsx:44
Функция для загрузки attachment по ID.
Предоставляется хостом (builder-web или runtime-host).
normalizeExternalUrl()?
optionalnormalizeExternalUrl: (url) =>string
Defined in: components/AttachmentVideo.tsx:55
Нормализует внешние URL перед рендером.
Parameters
url
string
Returns
string
refreshAttachment?
optionalrefreshAttachment:FetchAttachmentFn
Defined in: components/AttachmentVideo.tsx:50
Функция для обновления presigned URL по ID.
Опционально. Если не задана, повторный refresh не выполняется.