AttachmentVideoProps
Interface: AttachmentVideoProps
Defined in: components/AttachmentVideo.tsx:68
Пропсы для Video компонента.
Extends
VideoHTMLAttributes<HTMLVideoElement>
Properties
autoplay?
optionalautoplay:boolean
Defined in: components/AttachmentVideo.tsx:81
Автозапуск видео
controls?
optionalcontrols:boolean
Defined in: components/AttachmentVideo.tsx:79
Показывать контролы воспроизведения
Overrides
React.VideoHTMLAttributes.controls
loop?
optionalloop:boolean
Defined in: components/AttachmentVideo.tsx:83
Зацикливание воспроизведения
Overrides
React.VideoHTMLAttributes.loop
muted?
optionalmuted:boolean
Defined in: components/AttachmentVideo.tsx:85
Приглушенный звук
Overrides
React.VideoHTMLAttributes.muted
poster?
optionalposter:string
Defined in: components/AttachmentVideo.tsx:87
Постер-изображение перед воспроизведением
Overrides
React.VideoHTMLAttributes.poster
sourceType?
optionalsourceType:"url"|"upload"
Defined in: components/AttachmentVideo.tsx:77
Тип источника.
- "url" → src считается обычным URL
- "upload" → src считается attachmentId (нужно загрузить через API хоста)
src?
optionalsrc:string
Defined in: components/AttachmentVideo.tsx:70
URL видео или ID attachment (обычно UUID).
Overrides
React.VideoHTMLAttributes.src