Video
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a Video control that displays a video file.
- C#
- VB.NET
public class Video : Media
Public Class Video
Inherits Media
Constructors
Video()
Initializes a new instance of Video.
Properties
ObjectFit
ObjectFit: Gets or sets the object-fit value for the video. to apply to the video. (Default: Contain)
See https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit.
PlaysInline
Boolean: Gets or sets the presence of the playsinline attribute. (Default: False)
PosterImage
Image: Specifies an image to be shown while the video is downloading, or until the user hits the play button.
PosterImageSource
String: Returns or sets the theme name or URL for the image to display in the Video control.
Implements
| Name | Description |
|---|---|
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |