Skip to content

export Function

Video ​

Constructor ​

ts
PaidMedia.Video( media, thumbnail, width, height, duration, supports_streaming )
ParameterTypeDescription
mediastringThe media to attach.
thumbnail?stringThe thumbnail of the media to attach.
width?numberVideo width.
height?numberVideo height.
duration?numberVideo duration.
supports_streaming?booleanPass True if the uploaded video is suitable for streaming

Return: Object