The TRACK component is a sub-component inside the VIDEO component. It references a track containing textual information that is rendered on top of the video.
Typically used attributes
All attributes are
General attributes are
Used inside: VIDEO
Name of macro that is used for generating certain attributes of this component. Please pay attention: the value of this attribute is read one time for each control and cannot be changed afterwards.
Comment that can be asigned to any component. The comment is not operationally used.
Any text | Any text |
Configuration information that is attached to this component. This information is not functionally used by CaptainCasa, but may be used for any application specific purpose.
Kind of text track
captions | captions |
chapters | chapters |
descriptions | descriptions |
metadata | metadata |
subtitles | subtitles |
Reference to an outside object that is the content behind the component. E.g. a field is representing a certain field of a database table: in this case you could define the value table;column. The reference plays a siginficant role within the attributemacro management.
ref | One reference |
ref1;ref2 | Two references |
ref1;ref2;ref3 | Three references |
Flag that indicated if this component is rendered at all. If set to false then the component is not rendered - there is no component data sent to the client.
true | Component is rendered (default) |
false | Component is not rendered |
URL (absolute/relative) to image. Relative URLs need to start with a slash, e.g. /images/abc.png - in order to be picked from the web content directory of your application.
Language code
de | German |
en | English |
fr | French |
... | ... |
In CaptainCasa you can define styles definitions for components. A style definition is a definition of a set of default attribute values that are applied to the component. In case you want to differenciate between different usage types of the component you can apply multiple styles - and use the stylevariant attribute to select between.