Videowindow
Table of contents
GUIVideoControl(videowindow)
Control showing the currently running video.
GUIVideoControl Tags
| Element Name | Data Type | Description |
|---|---|---|
| textureFocus | String | The texture to display when the videowindow has the focus/is selected |
| action | Integer | The prefefined event to execute when the videowindow is clicked |
Inherited by GUIControl
See GUIControl for the full documentation of this control.
| Element Name | Data Type | Description |
|---|---|---|
| id | Integer | The id of the control. The id will couple the skin file to the code, so if we later on want to check that a user pressed a button, the id will be required and must be unique. For controls that will never be referenced in the code it is safe to set it to "1" |
| description | String | An optional description of the control for your reference |
| type | String | The type of the control, for instance "button", "label", "textbox" and all other controls. |
| posX | Integer | The X-position on the window for this control |
| posY | Integer | The Y-position on the window for this control |
| width | Integer | The width of this control |
| height | Integer | The height of this control |
| onleft | Integer | The control id to move the focus to when the user moves left. If not specified (or zero) MediaPortal will find the closest control in that direction to move to |
| onright | Integer | The control id to move the focus to when the user moves right. If not specified (or zero) MediaPortal will find the closest control in that direction to move to |
| onup | Integer | The control id to move the focus to when the user moves up. If not specified (or zero) MediaPortal will find the closest control in that direction to move to |
| ondown | Integer | The control id to move the focus to when the user moves down. If not specified (or zero) MediaPortal will find the closest control in that direction to move to |
| colordiffuse | Long | Allows you to mix a color & a graphics texture. E.g. If you have a graphics texture like a blue button you can mix it with a yellow color diffuse and the end result will be green. Defaults to 0xFFFFFFFF |
| dimColor | Integer | Color for a control when it is not focussed. Defaults to half transparent (0x60ffffff) |
| onfocus | String | [Since 1.3] Executes a MediaPortal skin function when the control gains focus. See Skin Settings for more information. |
Notes and Examples
<control> <id>99</id> <description>video preview window</description> <type>videowindow</type> <visible>player.hasmedia</visible> <posX>56</posX> <posY>329</posY> <width>315</width> <height>207</height> <animation effect="Fade" time="250">VisibleChange</animation> <animation effect="Fade" time="250">WindowClose</animation> <animation effect="Fade" time="250">WindowOpen</animation> <action>18</action> <textureFocus>tv_green_border.png</textureFocus> </control>

