SP.Video.EmbedCodeConfiguration object (sp.documentmanagement)

Provides a set of properties used to configure the embed code for the media player.

var object = new SP.Video.EmbedCodeConfiguration()

Members

The EmbedCodeConfiguration object has the following members.

Constructor

The EmbedCodeConfiguration object has the following constructor.

Constructor

Description

EmbedCodeConfiguration

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

Properties

The EmbedCodeConfiguration object has the following properties.

Property

Description

autoPlay

Gets or sets whether to start playing the media automatically.

displayTitle

Gets or sets whether to display the video title in the element that displays the video stream.

linkToOwnerProfilePage

Gets or sets whether to add a link to the profile page of the video owner in the title bar of the media element.

linkToVideoHomePage

Gets or sets whether to add a link to the video player page in the title bar of the media element.

loop

Gets or sets whether to restart video playback automatically from the beginning after video playback ends.

pixelHeight

Gets or sets the pixel height of the element that displays the media stream.

pixelWidth

Gets or sets the pixel width of the element that displays the media stream.

previewImagePath

Gets or sets the URL for the preview image to display before the media plays.

startTime

Gets or sets the offset from the beginning of the media stream when playback starts.

typeId