📌 Any videos with variables require being converted into a template.
To add a variable to your script:
Right-click in the script box to open the options menu.
Select Variable.
Provide a name for the variable.
If necessary, set the default value.
To add a variable to an avatar:
Select the avatar on the canvas.
Within the Inspector panel on the right hand side, click the three dots next to the avatar settings.
Select Add Variable.
Provide a name for the variable.
The current avatar element will be the default value.
To add a variable to a media asset:
Select the media element on the canvas.
Within the Inspector panel on the right hand side, click the three dots next to the media settings.
Select Add Variable.
Provide a name for the variable.
The current media element will be the default value.
To create a variable for a text element:
Add a text element to the canvas.
Type the name of your variable and enclose with two curly brackets on either side.
Add two curly brackets, the variable name, and close with two curly brackets:
{{variable_name}}
No default value can be set, so you will have to provide the variable value each time.
To save your video as a template:
Select Generate in the top right-hand side.
Add a Title and Description, if needed.
Select Generate, and you will be prompted to convert your video to template.
Select Convert.
Click Publish template.
You can find your template in the Template section of Library.
💬 FAQs
What can variables be added to?
What can variables be added to?
Variables can be added to the script, avatars, images, videos, and text elements.
Can I add a variable to the voice?
Can I add a variable to the voice?
It is not possible to add a variable to the voice.
📚 To learn more, check out the Synthesia Academy Feature Fridays: Variables recording.
