Class VideoElement
Represents a video HTML tag with an optional poster media key and name that can be assigned.
Implements
System.ICloneable
Inherited Members
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
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
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
Implements
System.ICloneable