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)

Syntax

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