Constructor
constructor(data)
Parameters
data: VideoEmbedData
Embed data.
Properties
playlist: string
A link to the master playlist file for the video.
aspectRatio?: AppBskyEmbedDefs.AspectRatio
The video's aspect ratio.
captions?: AppBskyEmbedVideo.Caption[]
Any captions associated with the video.
Methods
isRecordWithMedia()
Whether this embed contains a record with media.
Returns
this is RecordWithMediaEmbed
fromView(videoView, videoRecord)
Constructs a VideoEmbed from an embed view and a record.
Parameters
videoView: AppBskyEmbedVideo.View
The view of the embed.
videoRecord: AppBskyEmbedVideo.Main
The embed video record.