Skip to main content
Language

Show Editor

The VESDK class is the main entry point for opening the editor. You can either use the callable static function VESDK.openEditor as shown in this example or use the VideoEditorModal. For reference to the last method, please take a look at the dedicated guides here.

Open the editor#

In order to load the video into the editor simply specify it as the video parameter inside the asynchronous VESDK.openEditor function. In this example, we load a video from the bundle into the editor.

Handle events#

Once the editor finishes, a VideoEditorResult is returned which contains the edited video at VideoEditorResult.video. If no result is returned, the user has canceled the editing process by clicking the cancel button inside the editor.

Next Steps#