Search Results for

    Show / Hide Table of Contents

    Class VideoElement

    Represents a video HTML tag with an optional poster media key and name that can be assigned.

    Inheritance
    System.Object
    Node
    HtmlElement
    VideoElement
    Implements
    System.ICloneable
    Inherited Members
    HtmlElement.Attributes
    HtmlElement.ToString()
    HtmlElement.BindAttribute(String, AttributeBindName)
    HtmlElement.GetBaseUrl(String)
    HtmlElement.UrlEncodeWhiteSpace(String)
    HtmlElement.EnsureAttribute(String, AttributeValue)
    HtmlElement.EnsureAttribute(String, String)
    HtmlElement.TagName
    HtmlElement.SelfClosing
    HtmlElement.SelfClosingAlternateSetting
    HtmlElement.ClosingMode
    HtmlElement.ChildNodes
    Node.ICloneable.Clone()
    Node.Bind(Media, MediaItem)
    Node.Disabled
    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.Data.Display
    Assembly: ImageVault.Common.dll
    Syntax
    public class VideoElement : HtmlElement, ICloneable

    Constructors

    VideoElement()

    Initializes a new instance of the VideoElement class.

    Declaration
    public VideoElement()

    Properties

    PosterMediaKeyAndName

    Get/Sets the PosterMediaKeyAndName of the VideoSourceElement

    Declaration
    public string PosterMediaKeyAndName { get; set; }
    Property Value
    Type Description
    System.String

    Contains the MediaKeyAndName for the ImageVault poster content. MediaKeyAndName is the MediaKey and MediaName separated by a path separator (/). MediaKey is the MediaContentReferenceId for internal media and the PublishedMediaContentReferenceId for publishedMedia. MediaName is the Name of the MediaContentReference (like the filename).

    Methods

    Bind(BindContext)

    Binds the node according to the supplied context

    Declaration
    public override void Bind(BindContext context)
    Parameters
    Type Name Description
    BindContext context
    Overrides
    HtmlElement.Bind(BindContext)

    Bind(Media)

    Binds the Node to the supplied mediaItem

    Declaration
    [Obsolete("Use Bind(BindContext) instead")]
    public override void Bind(Media info)
    Parameters
    Type Name Description
    Media info
    Overrides
    HtmlElement.Bind(Media)

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override Node Clone()
    Returns
    Type Description
    Node

    A new object that is a copy of this instance.

    Overrides
    HtmlElement.Clone()

    Implements

    System.ICloneable

    Extension Methods

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