Skip to main content
Version: 4.1

Video

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a Video control that displays a video file.

public class Video : Media

Constructors​

Instance member Video()​

Initializes a new instance of Video.

Properties​

Instance member 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.

Instance member PlaysInline​

Boolean: Gets or sets the presence of the playsinline attribute. (Default: False)

Instance member 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.

Instance member 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​

Protected member OnWebRender(config)​

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Implements​

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.