CTRL + K

Audio element

In addition to its common properties, the audio element has several properties of its own.

NameDefaultDescription
durationmediaIdentical to duration from the common properties, but with the addition that it can be set to media to make the element as long as the source audio clip.
sourcenullThe URL of an audio clip (an mp3) you want to insert. If it was uploaded using the template editor, it may also be its internal GUID.
providernullThis optional parameter indicates whether to generate the audio using a third-party AI platform (such as ElevenLabs or OpenAI). Refer to the template editor for details on setting up a provider.
trim_startnullTrims the source audio clip to begin at the specified time (in seconds) rather than at the beginning of the audio file.
trim_durationnullTrims the source audio clip so that it stops playing after the specified duration (in seconds) rather than at the end of the clip.
loopfalseWhen set to true, the audio clip starts over when it reaches the end. This property cannot be used in conjunction with the trim_start and trim_duration properties.
volume100%Adjusts the volume from 0% to 100%.
audio_fade_innullFades in the volume for the specified duration (in seconds) at the beginning of the audio clip.
audio_fade_outnullFades out the volume for the specified duration (in seconds) at the end of the audio clip.

Check out the template editor's documentation on the audio element as well.

Previous page
Video element
Next page
Shape element