Class PapirflyPlayMediaRenderer
The Media renderer for the Papirfly player
Inheritance
System.Object
PapirflyPlayMediaRenderer
Implements
Namespace: ImageVault.Common.Html
Assembly: ImageVault.Common.dll
Syntax
public class PapirflyPlayMediaRenderer : Object, IMediaRenderer
Constructors
PapirflyPlayMediaRenderer()
Declaration
public PapirflyPlayMediaRenderer()
Fields
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 = "D958AB20-FEFA-4DD3-A7DE-BDAE90D32E6D"
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 |