MediaPlayerExtensions.SetDefaultMediaPlayerTemplateSource Method
Sets 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 Sub SetDefaultMediaPlayerTemplateSource ( _
web As SPWeb, _
templateSource As String _
)
'Usage
Dim web As SPWeb
Dim templateSource As StringMediaPlayerExtensions.SetDefaultMediaPlayerTemplateSource(web, _
templateSource)
public static void SetDefaultMediaPlayerTemplateSource(
SPWeb web,
string templateSource
)
Parameters
web
Type: Microsoft.SharePoint.SPWebA SPWeb object representing the site.
templateSource
Type: System.StringA URL reference to a XAML document containing a ControlTemplate definition.