MediaPlayerExtensions.GetDefaultMediaPlayerTemplateSource Method
Gets the site-wide setting for the default media player style or skin.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Function GetDefaultMediaPlayerTemplateSource ( _
web As SPWeb _
) As String
'Usage
Dim web As SPWeb
Dim returnValue As String
returnValue = MediaPlayerExtensions.GetDefaultMediaPlayerTemplateSource(web)
public static string GetDefaultMediaPlayerTemplateSource(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebA SPWeb object representing the site.
Return Value
Type: System.String
A URL reference to a XAML document containing a ControlTemplate definition.