Configure Audio Overlays
VideoEditor SDK supports several configuration options for the audio tool allowing flexible adaptation to different needs and use cases. For a detailed explanation of how to configure different editor views, refer to this guide.
categories
#
categories
#In order to showcase the audio tool, we need to add custom audio clips. Therefore, we first load them from the bundle and add them in an array to the configuration.audio.categories
configuration option.
For details consult the section on adding audio overlays from the app bundle.
canvasActions
#
canvasActions
#Configuring the audio tool allows changing the way users can overlay clips on a video.
The actions users can perform are configured via the canvasActions
property. By default, only the AudioCanvasAction.delete
is enabled.
However, in our example, we also enable the option to play and pause the audio clip (AudioCanvasAction.playPause
).