VideoRendition class

SharePoint 2013

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


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

[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

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.

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