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)
'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
)
videoPath
Type: System.StringAbsolute or Relative URL for the video item or player page.
properties
Type: Microsoft.Office.DocumentManagement.VideoSets.EmbedCodeConfigurationOptional properties to be used in configuring the embed code.
Type: System.String
String containing IFrame embed code for the video at the specified path.