![]() |
Previous | Next |
The VIDEO element provides a way to manipulate a video window in a skin, using the following attributes and events.
The VIDEO element supports the following attributes.
Attribute | Description |
backgroundColor | Specifies or retrieves the background color of the Video control. |
cursor | Specifies or retrieves the cursor value that is used when the mouse is over a clickable area of the video. |
fullScreen | Specifies or retrieves a value indicating whether the video is displayed in full-screen mode. Can only be set at run time. |
maintainAspectRatio | Specifies or retrieves a value indicating whether the video will maintain the aspect ratio when trying to fit within the width and height defined for the control. |
shrinkToFit | Specifies or retrieves a value indicating whether the video will shrink to the width and height defined for the Video control. |
stretchToFit | Specifies or retrieves a value indicating whether the video will stretch itself to the width and height defined for the Video control. |
toolTip | Specifies or retrieves the ToolTip text for the video window. |
windowless | Specifies or retrieves a value indicating whether the Video control will be windowed or windowless; that is, whether the entire rectangle of the control will be visible at all times or can be clipped. Can only be set at design time. |
zoom | Specifies the percentage by which to scale the video. |
The following event handlers can be implemented in the VIDEO element.
Event handler | Description |
onvideoend | Handles an event that occurs when the video stops rendering and is unloaded. |
onvideostart | Handles an event that occurs when the video is loaded and begins to render. |
The ambient attributes and ambient events are also supported by this element, except where noted.
Previous | Next |