Video
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.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.
Value: The Image to display.
PosterImageSource
String: Returns or sets the theme name or URL for the image to display in the Video control.
Value: The theme name or URL for the image to display in the Video.
Methods
OnWebRender(config)
Renders the client component.
| Parameter | Type | Description |
|---|---|---|
| config | Object | Dynamic configuration object. |
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| 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. |