Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VideoSet.GetEmbedCode method

SharePoint 2013

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

Namespace:  Microsoft.Office.DocumentManagement.VideoSets
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

public static string GetEmbedCode(
	string videoPath,
	EmbedCodeConfiguration properties
)

Parameters

videoPath
Type: System.String

Absolute or Relative URL for the video item or player page.

properties
Type: Microsoft.Office.DocumentManagement.VideoSets.EmbedCodeConfiguration

Optional properties to be used in configuring the embed code.

Return value

Type: System.String
String containing IFrame embed code for the video at the specified path.
Show:
© 2015 Microsoft