Share via


ContentByQueryWebPart.PlayMediaInBrowser Property

Gets or sets a value indicating whether links to media files should be played within the browser rather than with the operating system media player.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property PlayMediaInBrowser As Boolean
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As Boolean

value = instance.PlayMediaInBrowser

instance.PlayMediaInBrowser = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool PlayMediaInBrowser { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace