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)

Syntax

'Declaration
Public Shared Function GetEmbedCode ( _
    videoPath As String, _
    properties As EmbedCodeConfiguration _
) As String
'Usage
Dim videoPath As String
Dim properties As EmbedCodeConfiguration
Dim returnValue As String

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

Parameters

  • 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

Reference

VideoSet class

VideoSet members

Microsoft.Office.DocumentManagement.VideoSets namespace