VideoRendition constructor
Initializes a new instance of a VideoRendition object that creates a description with the specified parameters.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Sub New ( _
label As String, _
source As Uri, _
codec As String _
)
'Usage
Dim label As String
Dim source As Uri
Dim codec As String
Dim instance As New VideoRendition(label, source, _
codec)
public VideoRendition(
string label,
Uri source,
string codec
)
Parameters
label
Type: System.StringThe string distinguishing a media rendition among others on the rendition selection menu.
source
Type: System.UriThe URI containing a media rendition stream.
codec
Type: System.StringThe string corresponding to the codec portion of the HTML5 source tag type attribute.