Partilhar via


MediaWebPart.PlayerLoadedClientScript Property

Gets or sets a ECMAScript (JavaScript, JScript) function to be executed when the player successfully loads.

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

Syntax

'Declaration
Public Property PlayerLoadedClientScript As String
    Get
    Set
'Usage
Dim instance As MediaWebPart
Dim value As String

value = instance.PlayerLoadedClientScript

instance.PlayerLoadedClientScript = value
public string PlayerLoadedClientScript { get; set; }

Property Value

Type: System.String
Returns String.

Remarks

Applicable only when the pageis in edit mode.

See Also

Reference

MediaWebPart Class

MediaWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace