Share via


SP.Video.VideoSet object (sp.documentmanagement)

Represents a folder that contains all of the information related to a video.

var object = new SP.Video.VideoSet()

Remarks

Information related to a video can include, for example, different renditions and thumbnail images.

Members

The VideoSet object has the following members.

Constructor

The VideoSet object has the following constructor.

Constructor

Description

VideoSet

Initializes a new instance of the SP.Video.VideoSet object.

Methods

The VideoSet object has the following methods.

Method

Description

createVideo

Creates a new VideoSet object.

getEmbedCode

Retrieves the embed code for the video at the specified path.

migrateVideo

For a document library containing the video content type, this method attempts to migrate specified standalone video files into the representation required by video content type.

uploadVideo

Uploads the video file with the specified file name to the specified list.