Search Results for

    Show / Hide Table of Contents

    Class Html5VideoRenderer

    Inheritance
    System.Object
    Html5VideoRenderer
    Implements
    IMediaRenderer
    Namespace: ImageVault.Common.Html
    Assembly: ImageVault.Common.dll
    Syntax
    public class Html5VideoRenderer : Object, 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

    Implements

    IMediaRenderer

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022