MediaWebPart.AutoPlay property
Gets or sets whether the media should play automatically once the page has loaded.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property AutoPlay As Boolean
Get
Set
'Usage
Dim instance As MediaWebPart
Dim value As Boolean
value = instance.AutoPlay
instance.AutoPlay = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool AutoPlay { get; set; }
Property value
Type: System.Boolean
Returns Boolean.