Class Html5VideoRenderer
Inheritance
System.Object
Html5VideoRenderer
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Html
Assembly: ImageVault.Common.dll
Syntax
public class Html5VideoRenderer : IMediaRenderer
Constructors
Html5VideoRenderer()
Declaration
public Html5VideoRenderer()
Fields
NotSupportedText
The default not supported text to use if the browser cannot display the video tag for some reason
Declaration
public const string NotSupportedText = "Your browser does not support the video tag."
Field Value
| Type | Description |
|---|---|
| System.String |
PosterMediaKeyAndNameKey
Key to map the Poster and media key name
Declaration
public const string PosterMediaKeyAndNameKey = "posterMediaKeyAndName"
Field Value
| Type | Description |
|---|---|
| System.String |
PosterUrlKey
Declaration
public const string PosterUrlKey = "posterUrl"
Field Value
| Type | Description |
|---|---|
| System.String |
RendererId
Id used to register the renderer
Declaration
public const string RendererId = "17733ABF-0D07-4F78-BBCB-D81EB5AC9F05"
Field Value
| Type | Description |
|---|---|
| System.String |
VideoSourcesKey
Declaration
public const string VideoSourcesKey = "videoSources"
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 virtual IList<RenderResource> GetResourceList()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IList<RenderResource> |
Render(RenderContext)
Renders the supplied media
Declaration
public virtual string Render(RenderContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderContext | context | Context to use when rendering the html |
Returns
| Type | Description |
|---|---|
| System.String |