Class YouTubeRenderer
Renderer for youtube content
Inheritance
System.Object
YouTubeRenderer
Implements
Namespace: ImageVault.Common.Html
Assembly: ImageVault.Common.dll
Syntax
public class YouTubeRenderer : Object, IMediaRenderer
Constructors
YouTubeRenderer()
Declaration
public YouTubeRenderer()
Fields
RendererId
Declaration
public const string RendererId = "65456BEE-FF46-4631-A724-21E73E5A6A62"
Field Value
Type | Description |
---|---|
System.String |
YouTubeContentType
Gets the YouTubeContentType of YouTube content
Declaration
public const string YouTubeContentType = "video/YouTube"
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 |