MediaFieldControl.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
Public Property AutoPlay As Boolean
Get
Set
'Usage
Dim instance As MediaFieldControl
Dim value As Boolean
value = instance.AutoPlay
instance.AutoPlay = value
public bool AutoPlay { get; set; }
Property Value
Type: System.Boolean
Returns Boolean.
Remarks
If an AutoPlay value is specified by the MediaFieldValue, it will take precedence over this setting.