Class AzureMediaPlayerMediaRenderer
Inheritance
System.Object
AzureMediaPlayerMediaRenderer
Implements
Namespace: ImageVault.Common.Html
Assembly: ImageVault.Common.dll
Syntax
public class AzureMediaPlayerMediaRenderer : Object, IMediaRenderer
Constructors
AzureMediaPlayerMediaRenderer()
Declaration
public AzureMediaPlayerMediaRenderer()
Fields
IvAmpVersion
The current ImageVaultAzureMediaPlayer version that the renderer is using
Declaration
public const string IvAmpVersion = "5.17.1"
Field Value
Type | Description |
---|---|
System.String |
NotSupportedText
The default not supported text to use if the browser cannot display the player for some reason
Declaration
public const string NotSupportedText = "To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video"
Field Value
Type | Description |
---|---|
System.String |
RendererId
Guid for the renderer
Declaration
public const string RendererId = "CF2B805A-597A-4D46-87CA-90F3C9B9B50C"
Field Value
Type | Description |
---|---|
System.String |
Properties
Id
Gets the id of the renderer
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetResourceList()
Gets a list of Resources needed for the renderer to work on a html page
Declaration
public IList<RenderResource> GetResourceList()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<RenderResource> |
Render(RenderContext)
Renders the supplied media
Declaration
public string Render(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context | Context to use when rendering the html |
Returns
Type | Description |
---|---|
System.String |