EmbedCodeConfiguration 成员

Provides a set of properties used to configure the embed code for the media player retrieved from the GetEmbedCode(String, EmbedCodeConfiguration) method.

EmbedCodeConfiguration 类型公开以下成员。

构造函数

  名称 说明
公共方法 EmbedCodeConfiguration

页首

属性

  名称 说明
公共属性 AutoPlay Gets or sets whether to start playing the media automatically.
公共属性 DisplayTitle Gets or sets whether to display the video title in the element that displays the video stream.
公共属性 LinkToOwnerProfilePage Gets or sets whether to add a link to the profile page of the video owner in the title bar of the media element.
公共属性 LinkToVideoHomePage Gets or sets whether to add a link to the video player page in the title bar of the media element.
公共属性 Loop Gets or sets whether to restart video playback automatically from the beginning after video playback ends.
公共属性 PixelHeight Gets or sets the pixel height of the element that displays the media stream.
公共属性 PixelWidth Gets or sets the pixel width of the element that displays the media stream.
公共属性 PreviewImagePath Gets or sets the URL for the preview image to display before the media plays.
公共属性 StartTime Gets or sets the offset from the beginning of the media stream when playback starts.
公共属性 TypeId (覆盖 ClientValueObject.TypeId。)

页首

方法

  名称 说明
公共方法 CustomFromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
公共方法 CustomWriteToXml 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
公共方法 FromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
受保护的方法 InitOnePropertyFromJson 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 WriteToXml 此成员仅供内部使用,不能直接在您的代码中使用。 (从 ClientValueObject 继承。)

页首

另请参阅

引用

EmbedCodeConfiguration 类

Microsoft.SharePoint.Client.Video 命名空间