VideoRendition class

Represents a VideoRendition object that abstracts media rendition properties required for playback in the media player.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Publishing.WebControls.VideoRendition

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

Syntax

'Declaration
<SerializableAttribute> _
<DataContractAttribute> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class VideoRendition
'Usage
Dim instance As VideoRendition
[SerializableAttribute]
[DataContractAttribute]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class VideoRendition

Remarks

Each VideoRendition object that is available for playback by the media player is represented by an instance of the object in the renditions collection of the MediaWebPart class. For example, to maximize the chances of the video playing across as many devices as possible, a video rendition using H.264 (MP4) and WEBM container should be specified in the MediaWebPart configuration.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

VideoRendition members

Microsoft.SharePoint.Publishing.WebControls namespace

Renditions