With variables you define dynamic content inside of templates. When you render a video the actual content will come from parameters you set when you submit the render request. Variables can replace simple text, select or load a image or video resource, enable or disable a scene from being rendered or enable or disable an image or audio layer from being composited.
You define variables inside of tag atributes in the form ${name, defaultValue, options}, whereas the defaultValue will be taken if no parameter with name is supplied. If you do not want to supply a default value you can
omit it. options are one letter codes that transform the value in one more ways:
| code | Description |
|---|---|
| U | Uppercase |
| L | Lowercase |
| T | Title case |
| E | URL Encode |
| A | Arabic Glyph Shaping |
| ${price} | Plain text variable named price |
| ${city, 'New York'} | Text variable named city with default New York |
| ${firstname,,U} | Variable named firstname with no default value that will be transformed to upper case |
| ${searchquery,,EL} | Variable named searchquery with no default value that will be lower cased and URL encoded. |
Terms of Use | © 2017, Impossible Software, or its affiliates.