Skip to main content

Configure Overlays

VideoEditor SDK supports several configuration options for the overlay 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.


When selecting an overlay in the overlay tool, the user can switch between several blend modes. The allowed blend modes can be customized using the blendModes property. By default, the editor has all available blend modes for this tool enabled. For this example only a couple modes are enabled.

import { BlendMode, Configuration, VESDK } from "react-native-videoeditorsdk";
export const videoOverlayConfigurationExample = async (): Promise<void> => {
try {
// Add a video from the assets directory.
const video = require("../../../../assets/vesdk/Skater.mp4");
// Create a `Configuration` object.
const configuration: Configuration = {
overlay: {
// By default, all available blend modes are enabled.
// For this example, only a couple are enabled for usage.
blendModes: [
// Open the video editor and handle the export as well as any occuring errors.
const result = await VESDK.openEditor(video, configuration);
if (result != null) {
// The user exported a new video successfully and the newly generated video is located at ``.
} else {
// The user tapped on the cancel button within the editor.
} catch (error) {
// There was an error generating the video.