Share via


EmbedCodeConfiguration.AutoPlay property

Gets or sets whether to start playing the media automatically.

Namespace:  Microsoft.SharePoint.Client.Video
Assembly:  Microsoft.SharePoint.Client.DocumentManagement (in Microsoft.SharePoint.Client.DocumentManagement.dll)

Syntax

'Declaration
Public Property AutoPlay As Boolean
    Get
    Set
'Usage
Dim instance As EmbedCodeConfiguration
Dim value As Boolean

value = instance.AutoPlay

instance.AutoPlay = value
public bool AutoPlay { get; set; }

Property value

Type: System.Boolean
true if playback is to start automatically; otherwise, false.

Remarks

If this value is not specified, its default value is false.

See also

Reference

EmbedCodeConfiguration class

EmbedCodeConfiguration members

Microsoft.SharePoint.Client.Video namespace