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.String

    The string distinguishing a media rendition among others on the rendition selection menu.

  • source
    Type: System.Uri

    The URI containing a media rendition stream.

  • codec
    Type: System.String

    The string corresponding to the codec portion of the HTML5 source tag type attribute.

See also

Reference

VideoRendition class

VideoRendition members

Microsoft.SharePoint.Publishing.WebControls namespace