Share via

VideoSet.GetEmbedCode method

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 Shared Function GetEmbedCode ( _
    videoPath As String, _
    properties As EmbedCodeConfiguration _
) As String
Dim videoPath As String
Dim properties As EmbedCodeConfiguration
Dim returnValue As String

returnValue = VideoSet.GetEmbedCode(videoPath, _
public static string GetEmbedCode(
    string videoPath,
    EmbedCodeConfiguration properties


  • videoPath
    Type: System.String

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

Return value

Type: System.String
String containing IFrame embed code for the video at the specified path.

See also


VideoSet class

VideoSet members

Microsoft.Office.DocumentManagement.VideoSets namespace