Skip to main content
Language

Configure Audio Overlays

VideoEditor SDK supports several configuration options for the AudioGalleryToolPanel allowing flexible adaptation to different needs and use cases.

Add audio clips#

To add custom audio clips, we first add them to the AssetConfig and then configure UiConfigAudio to set the audioTrackLists. For details, consult the section on adding audio overlays from resources.

Set allowed actions#

The quickOptionList contains all the actions that users can perform on a frame. It also contains SpaceItems that are used to space out the actions. In our example, we only allow the play/pause action. SpaceItem.fillListSpacedByGroups() automatically adds SpaceItems to space out the actions.