Share via


MediaFieldControl.Loop property

Whether the media should restart automatically upon playing to completion.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property Loop As Boolean
    Get
    Set
'Usage
Dim instance As MediaFieldControl
Dim value As Boolean

value = instance.Loop

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

Property value

Type: System.Boolean
Returns Boolean.

Remarks

If a Loop value is specifiedby the MedaiFieldValue, it will take precedence over this setting.

See also

Reference

MediaFieldControl class

MediaFieldControl members

Microsoft.SharePoint.Publishing.WebControls namespace